Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001263/0.002313, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007371/0.0007371, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001097/0.001834, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9966/0.9966, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0938/1.09, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.42/2.42, allocations: 446.7 MB / 0.6745 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2441/2.664, allocations: 145.9 MB / 0.817 GB, free: 4.238 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|inverseXRegularized.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.873e-05, allocations: 6.312 kB / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002243/0.002261, allocations: 1.54 MB / 0.8198 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009236/0.003185, allocations: 0.8019 MB / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.003215, allocations: 0 / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.003236, allocations: 0 / 0.8206 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.925e-05/0.003265, allocations: 7.938 kB / 0.8206 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.003575, allocations: 119.4 kB / 0.8207 GB, free: 428 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.595e-05/0.003641, allocations: 35.92 kB / 0.8208 GB, free: 392 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.444e-05/0.003716, allocations: 7.984 kB / 0.8208 GB, free: 384 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.208e-05/0.003788, allocations: 27.91 kB / 0.8208 GB, free: 356 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.679e-05/0.003834, allocations: 15.98 kB / 0.8208 GB, free: 340 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.003849, allocations: 4 kB / 0.8208 GB, free: 336 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002978/0.004147, allocations: 251.5 kB / 0.821 GB, free: 84 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.004161, allocations: 4 kB / 0.8211 GB, free: 80 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.004178, allocations: 11.88 kB / 0.8211 GB, free: 68 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.00441, allocations: 171.7 kB / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/0.004422, allocations: 0 / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004423, allocations: 0 / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.004435, allocations: 0 / 0.8212 GB, free: 15.9 MB / 0.8073 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.0003615/0.004796, allocations: 284.2 kB / 0.8215 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.004832, allocations: 20.56 kB / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002477/0.00508, allocations: 125.9 kB / 0.8216 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.713e-05/0.005157, allocations: 109.8 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.005171, allocations: 384 / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.005179, allocations: 4.375 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.005315, allocations: 82.84 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.005322, allocations: 192 / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.00533, allocations: 384 / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.005334, allocations: 3.938 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.113e-05/0.005365, allocations: 8 kB / 0.8218 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002459/0.005611, allocations: 172.2 kB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.448e-05/0.005696, allocations: 42.55 kB / 0.822 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.763e-05/0.005713, allocations: 12.91 kB / 0.8221 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.005725, allocations: 0 / 0.8221 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.005743, allocations: 30.56 kB / 0.8221 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.005744, allocations: 0 / 0.8221 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001086/0.005853, allocations: 45.62 kB / 0.8221 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.00588, allocations: 55.53 kB / 0.8222 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.614e-05/0.005926, allocations: 106.7 kB / 0.8223 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.005936, allocations: 25.7 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.561e-05/0.005962, allocations: 88.08 kB / 0.8224 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.00598, allocations: 11.94 kB / 0.8224 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.006006, allocations: 9.719 kB / 0.8224 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.913e-05/0.006075, allocations: 318.8 kB / 0.8227 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.455e-05/0.00609, allocations: 0 / 0.8227 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.369e-05/0.006104, allocations: 7.984 kB / 0.8227 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.777e-05/0.006131, allocations: 16.92 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.006133, allocations: 0 / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.185e-05/0.006185, allocations: 37.94 kB / 0.8228 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.006197, allocations: 6.188 kB / 0.8228 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.0062, allocations: 0 / 0.8228 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.006209, allocations: 7.938 kB / 0.8228 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.006289, allocations: 19.92 kB / 0.8228 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.006291, allocations: 0 / 0.8228 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.199e-05/0.006323, allocations: 16.02 kB / 0.8228 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.006328, allocations: 0 / 0.8228 GB, free: 14.09 MB / 0.8073 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 4.932e-05/0.006377, allocations: 113.8 kB / 0.8229 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.006393, allocations: 7.984 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.006415, allocations: 3.312 kB / 0.8229 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.006419, allocations: 7.922 kB / 0.823 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.00642, allocations: 0 / 0.823 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.006423, allocations: 0 / 0.823 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.502e-05/0.006508, allocations: 73.88 kB / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006509, allocations: 0 / 0.823 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.006557, allocations: 19.98 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.006563, allocations: 3.953 kB / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.006564, allocations: 0 / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-06/0.006569, allocations: 0 / 0.823 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.006574, allocations: 11.92 kB / 0.8231 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006575, allocations: 0 / 0.8231 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.521e-05/0.00666, allocations: 131.5 kB / 0.8232 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.006671, allocations: 7.984 kB / 0.8232 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.398e-05/0.006715, allocations: 8.031 kB / 0.8232 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.006743, allocations: 11.92 kB / 0.8232 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.006747, allocations: 0 / 0.8232 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.448e-06/0.006756, allocations: 8.859 kB / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006756, allocations: 0 / 0.8232 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001299/0.006886, allocations: 15.92 kB / 0.8232 GB, free: 13.63 MB / 0.8073 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.0001012/0.006987, allocations: 84.36 kB / 0.8233 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.675e-05/0.007054, allocations: 28.84 kB / 0.8233 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.007058, allocations: 4.062 kB / 0.8233 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-05/0.007077, allocations: 12.8 kB / 0.8234 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.007211, allocations: 15.92 kB / 0.8234 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.007592, allocations: 124.7 kB / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.007623, allocations: 59.2 kB / 0.8235 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.247e-05/0.007666, allocations: 12.06 kB / 0.8236 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.007723, allocations: 51.38 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of SimCode: time 9.92e-07/0.007724, allocations: 0 / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of Templates: time 0.002422/0.01015, allocations: 0.9105 MB / 0.8245 GB, free: 12.28 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized/Buildings_latest_Buildings.Utilities.Math.Examples.InverseXRegularized.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.235731146298349]