Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 201.2 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.89 kB / 1.109 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9411/0.9431, allocations: 168.7 MB / 1.274 GB, free: 4.496 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.003324/0.9464, allocations: 1.46 MB / 1.275 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.9479, allocations: 0.8115 MB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.819e-05/0.9479, allocations: 0 / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.989e-05/0.948, allocations: 3.938 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.626e-05/0.948, allocations: 7.938 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004745/0.9485, allocations: 127 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.452e-05/0.9486, allocations: 35.91 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.296e-05/0.9487, allocations: 4 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.114e-05/0.9487, allocations: 15.97 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.189e-05/0.9488, allocations: 23.92 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.9488, allocations: 4 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005059/0.9493, allocations: 315.3 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.9494, allocations: 15.97 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.9494, allocations: 7.938 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.9497, allocations: 202.2 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9497, allocations: 4 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.405e-06/0.9497, allocations: 0 / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.9497, allocations: 0 / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0007012/0.9504, allocations: 379 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.9505, allocations: 11.97 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005216/0.951, allocations: 72.8 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.9512, allocations: 160.4 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.364e-05/0.9513, allocations: 8.375 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.9513, allocations: 384 / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.9516, allocations: 85.94 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.9517, allocations: 0 / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.9517, allocations: 0 / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.9517, allocations: 0 / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/0.9521, allocations: 99.83 kB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007174/0.9529, allocations: 300.8 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.9533, allocations: 94.48 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.9535, allocations: 52.88 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.734e-05/0.9535, allocations: 3.984 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.9536, allocations: 34.5 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.9536, allocations: 4 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0009042/0.9545, allocations: 161.6 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.27e-05/0.9545, allocations: 51.41 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.9547, allocations: 105.8 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.9547, allocations: 25.83 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.489e-05/0.9548, allocations: 88.08 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.9548, allocations: 7.953 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-05/0.9549, allocations: 21.64 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002666/0.9552, allocations: 314.8 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.9554, allocations: 43.95 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.9556, allocations: 51.94 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.9561, allocations: 96.7 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.9561, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004906/0.9566, allocations: 113.6 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.9566, allocations: 12.03 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.9566, allocations: 0 / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.9566, allocations: 0 / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.9568, allocations: 19.97 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.9568, allocations: 7.938 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.9569, allocations: 15.97 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.9569, allocations: 4 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.9571, allocations: 117.8 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.9571, allocations: 3.953 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.9572, allocations: 3.125 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.9572, allocations: 4 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.838e-06/0.9572, allocations: 7.922 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.9572, allocations: 0 / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.9574, allocations: 169.6 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.9574, allocations: 0 / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.9576, allocations: 23.97 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.9576, allocations: 0 / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.9576, allocations: 4 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.9576, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.9576, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000568/0.9582, allocations: 219.4 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.275e-05/0.9582, allocations: 81.34 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.9583, allocations: 4.031 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.9584, allocations: 19.98 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.9585, allocations: 7.984 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.9585, allocations: 4 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.024e-05/0.9585, allocations: 79.28 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9585, allocations: 0 / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002528/0.9588, allocations: 15.88 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002247/0.959, allocations: 119.2 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005205/0.9595, allocations: 91.91 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9595, allocations: 0 / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.9598, allocations: 51.94 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.9601, allocations: 17.56 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.9608, allocations: 165.4 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.9612, allocations: 0.6845 MB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.255e-05/0.9612, allocations: 7.953 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.9612, allocations: 15.38 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of SimCode: time 6.01e-07/0.9612, allocations: 0 / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of Templates: time 0.004116/0.9654, allocations: 0.8224 MB / 1.282 GB, free: 11.99 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_InverseXRegularized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.InverseXRegularized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.988934215158224]