Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.002197/0.002197, allocations: 110 kB / 18.93 MB, free: 2.945 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.002894/0.002894, allocations: 185.2 kB / 22.22 MB, free: 5.16 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.646/1.646, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.646/2.646, allocations: 443.5 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 71.88 kB / 1.062 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9745/0.9766, allocations: 160.8 MB / 1.218 GB, free: 3.613 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001994/0.9786, allocations: 0.5842 MB / 1.219 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 4.794e-05/0.9786, allocations: 5 kB / 1.219 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.9786, allocations: 0 / 1.219 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.9787, allocations: 4 kB / 1.219 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.563e-05/0.9787, allocations: 1.125 kB / 1.219 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.342e-05/0.9787, allocations: 3.938 kB / 1.219 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.572e-05/0.9788, allocations: 5.141 kB / 1.219 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.742e-05/0.9789, allocations: 2.062 kB / 1.219 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.822e-05/0.9789, allocations: 4 kB / 1.219 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.409e-05/0.9789, allocations: 1.031 kB / 1.219 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.9789, allocations: 0 / 1.219 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.178e-06/0.9789, allocations: 0 / 1.219 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.9789, allocations: 9.016 kB / 1.219 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.979, allocations: 0 / 1.219 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.244e-05/0.979, allocations: 9.656 kB / 1.219 GB, free: 3.145 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.979, allocations: 0 / 1.219 GB, free: 3.145 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.784e-06/0.979, allocations: 0 / 1.219 GB, free: 3.145 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.979, allocations: 1.094 kB / 1.219 GB, free: 3.145 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004272/0.9795, allocations: 321.4 kB / 1.219 GB, free: 2.785 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.9795, allocations: 10.41 kB / 1.219 GB, free: 2.785 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.9795, allocations: 0.9375 kB / 1.219 GB, free: 2.785 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.9797, allocations: 165.4 kB / 1.22 GB, free: 2.586 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.9797, allocations: 384 / 1.22 GB, free: 2.586 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.9797, allocations: 5.438 kB / 1.22 GB, free: 2.582 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.508e-05/0.9798, allocations: 32.34 kB / 1.22 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.9798, allocations: 192 / 1.22 GB, free: 2.547 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.9798, allocations: 3.938 kB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.9798, allocations: 1.031 kB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.438e-05/0.9799, allocations: 1.031 kB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.9802, allocations: 378.5 kB / 1.22 GB, free: 2.125 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.9804, allocations: 178.1 kB / 1.22 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.9804, allocations: 81.23 kB / 1.22 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.9804, allocations: 75.28 kB / 1.22 GB, free: 1.785 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/0.9805, allocations: 110.9 kB / 1.22 GB, free: 1.668 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.9805, allocations: 0 / 1.22 GB, free: 1.668 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.294e-05/0.9806, allocations: 34.77 kB / 1.22 GB, free: 1.629 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.9807, allocations: 127.8 kB / 1.221 GB, free: 1.492 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.668e-05/0.9808, allocations: 92.92 kB / 1.221 GB, free: 1.395 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.9808, allocations: 25.7 kB / 1.221 GB, free: 1.363 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.9808, allocations: 89.12 kB / 1.221 GB, free: 1.273 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-06/0.9808, allocations: 0 / 1.221 GB, free: 1.273 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.9809, allocations: 10.69 kB / 1.221 GB, free: 1.258 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.981, allocations: 316.2 kB / 1.221 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.11e-06/0.981, allocations: 0 / 1.221 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-06/0.981, allocations: 0 / 1.221 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/0.9811, allocations: 76.28 kB / 1.221 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-05/0.9811, allocations: 75.28 kB / 1.221 GB, free: 0.793 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.463e-05/0.9811, allocations: 32.52 kB / 1.221 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.9812, allocations: 88.25 kB / 1.221 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-05/0.9812, allocations: 80.41 kB / 1.221 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.743e-05/0.9813, allocations: 159.6 kB / 1.222 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.759e-05/0.9814, allocations: 80.41 kB / 1.222 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.533e-05/0.9814, allocations: 155.5 kB / 1.222 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.666e-05/0.9815, allocations: 80.44 kB / 1.222 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-05/0.9816, allocations: 83.22 kB / 1.222 GB, free: 52 kB / 0.92 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 (0): * Single equations (assignments): 0 * 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.0001871/0.9817, allocations: 277 kB / 1.222 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.9818, allocations: 103.4 kB / 1.222 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.419e-05/0.9819, allocations: 116.1 kB / 1.222 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001193/0.982, allocations: 177.5 kB / 1.223 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.404e-05/0.9821, allocations: 181.4 kB / 1.223 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000161/0.9823, allocations: 177.5 kB / 1.223 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.9826, allocations: 410.4 kB / 1.223 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.786e-05/0.9826, allocations: 106.2 kB / 1.223 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.349e-05/0.9827, allocations: 102.1 kB / 1.224 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-05/0.9828, allocations: 181.4 kB / 1.224 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.237e-05/0.9828, allocations: 181.4 kB / 1.224 GB, free: 13.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-05/0.9829, allocations: 185.4 kB / 1.224 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.021e-05/0.983, allocations: 180.2 kB / 1.224 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.9832, allocations: 307.8 kB / 1.225 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.9833, allocations: 183.4 kB / 1.225 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.9834, allocations: 177.8 kB / 1.225 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.9835, allocations: 118 kB / 1.225 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-05/0.9836, allocations: 181.4 kB / 1.225 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.708e-05/0.9837, allocations: 106.4 kB / 1.225 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.055e-05/0.9837, allocations: 80.64 kB / 1.225 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.9837, allocations: 0 / 1.225 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002591/0.984, allocations: 1.156 kB / 1.225 GB, free: 12.4 MB / 0.9356 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 (0): * Single equations (assignments): 0 * 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.0001795/0.9842, allocations: 174 kB / 1.225 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 4.857e-05/0.9842, allocations: 0 / 1.225 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.9842, allocations: 1.344 kB / 1.225 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.9842, allocations: 0 / 1.225 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.9846, allocations: 460.8 kB / 1.226 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.9849, allocations: 166.3 kB / 1.226 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.9852, allocations: 0.6703 MB / 1.227 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.923e-06/0.9852, allocations: 3.938 kB / 1.227 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.3e-05/0.9853, allocations: 7.438 kB / 1.227 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of SimCode: time 2.9e-07/0.9853, allocations: 1.062 kB / 1.227 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of Templates: time 0.002377/0.9876, allocations: 171.2 kB / 1.227 GB, free: 10.79 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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: 9.38494819495827]