Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001457/0.001457, allocations: 79.7 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001783/0.001783, allocations: 167.4 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.55/1.55, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.989/2.989, allocations: 389 MB / 0.633 GB, free: 0.9531 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 1 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.389e-05/3.66e-05, allocations: 5.938 kB / 1 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002225/0.002262, allocations: 0.6021 MB / 1.001 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 4.7e-05/0.002309, allocations: 4 kB / 1.001 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.002346, allocations: 0 / 1.001 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.451e-05/0.002381, allocations: 0 / 1.001 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.662e-05/0.002417, allocations: 0 / 1.001 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 3.887e-05/0.002456, allocations: 0 / 1.001 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.718e-05/0.002523, allocations: 0 / 1.001 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.361e-05/0.002587, allocations: 8 kB / 1.001 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.33e-05/0.00263, allocations: 3.938 kB / 1.001 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.682e-05/0.002657, allocations: 0 / 1.001 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.002672, allocations: 0 / 1.001 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.878e-06/0.002676, allocations: 0 / 1.001 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.002693, allocations: 4 kB / 1.001 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.002714, allocations: 0 / 1.001 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 7.87e-05/0.002793, allocations: 7.984 kB / 1.001 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.002796, allocations: 0 / 1.001 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002796, allocations: 3.938 kB / 1.001 GB, free: 6.586 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.002801, allocations: 0 / 1.001 GB, free: 6.586 MB / 0.9512 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.0004041/0.003205, allocations: 238.4 kB / 1.001 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.003253, allocations: 8.031 kB / 1.001 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.003294, allocations: 0.9375 kB / 1.001 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.003431, allocations: 109.8 kB / 1.001 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.003448, allocations: 4.359 kB / 1.001 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.003457, allocations: 384 / 1.001 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.003562, allocations: 30.27 kB / 1.001 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.003574, allocations: 192 / 1.001 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.003583, allocations: 384 / 1.001 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.003589, allocations: 384 / 1.001 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.224e-05/0.003611, allocations: 3.938 kB / 1.001 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.003986, allocations: 339 kB / 1.001 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.00411, allocations: 169.2 kB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.004161, allocations: 84.12 kB / 1.002 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.004206, allocations: 75.28 kB / 1.002 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.416e-05/0.00427, allocations: 109.8 kB / 1.002 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.004271, allocations: 3.938 kB / 1.002 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.168e-05/0.004363, allocations: 33.58 kB / 1.002 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.771e-05/0.004461, allocations: 130.7 kB / 1.002 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.129e-05/0.004552, allocations: 89.86 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.004568, allocations: 33.83 kB / 1.002 GB, free: 5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.004621, allocations: 80.14 kB / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.004624, allocations: 0 / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.004648, allocations: 9.719 kB / 1.002 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.004797, allocations: 314.8 kB / 1.003 GB, free: 4.586 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-06/0.004802, allocations: 4 kB / 1.003 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.838e-06/0.004806, allocations: 0 / 1.003 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.85e-05/0.004844, allocations: 75.28 kB / 1.003 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.83e-05/0.004882, allocations: 75.28 kB / 1.003 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.641e-05/0.004949, allocations: 37.59 kB / 1.003 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.544e-05/0.005004, allocations: 83.28 kB / 1.003 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.226e-05/0.005047, allocations: 83.22 kB / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.33e-05/0.00513, allocations: 154.6 kB / 1.003 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.613e-05/0.005166, allocations: 79.22 kB / 1.003 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.899e-05/0.005245, allocations: 154.5 kB / 1.003 GB, free: 3.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.943e-05/0.005324, allocations: 79.22 kB / 1.003 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.005366, allocations: 79.28 kB / 1.003 GB, free: 3.688 MB / 0.9512 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.0001483/0.005515, allocations: 260.4 kB / 1.004 GB, free: 3.422 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.943e-05/0.005594, allocations: 113 kB / 1.004 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.56e-05/0.00566, allocations: 107.9 kB / 1.004 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-05/0.00574, allocations: 180.2 kB / 1.004 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.57e-05/0.005826, allocations: 188.2 kB / 1.004 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-05/0.005907, allocations: 176.5 kB / 1.004 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.006174, allocations: 360.8 kB / 1.005 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.877e-05/0.006223, allocations: 109 kB / 1.005 GB, free: 2.133 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.232e-05/0.006275, allocations: 101 kB / 1.005 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.778e-05/0.006353, allocations: 180.2 kB / 1.005 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.389e-05/0.006437, allocations: 180.3 kB / 1.005 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.185e-05/0.006528, allocations: 188.1 kB / 1.005 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.501e-05/0.006613, allocations: 180.3 kB / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.006801, allocations: 303.8 kB / 1.006 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.006852, allocations: 101 kB / 1.006 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.194e-05/0.006944, allocations: 200.1 kB / 1.006 GB, free: 0.6562 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.248e-05/0.007036, allocations: 112.8 kB / 1.006 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.00712, allocations: 176.3 kB / 1.007 GB, free: 368 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.007169, allocations: 108.9 kB / 1.007 GB, free: 252 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.007208, allocations: 75.28 kB / 1.007 GB, free: 176 kB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.007208, allocations: 0 / 1.007 GB, free: 176 kB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002728/0.00748, allocations: 0 / 1.007 GB, free: 176 kB / 0.9512 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.0001782/0.007659, allocations: 174.5 kB / 1.007 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.124e-05/0.00771, allocations: 4.094 kB / 1.007 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.007712, allocations: 0 / 1.007 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-06/0.007716, allocations: 3.984 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.008125, allocations: 463.6 kB / 1.007 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002894/0.008414, allocations: 158.5 kB / 1.007 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.557e-05/0.00847, allocations: 55.36 kB / 1.008 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.016e-06/0.008473, allocations: 0 / 1.008 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/0.008492, allocations: 8.5 kB / 1.008 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.008493, allocations: 0 / 1.008 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of Templates: time 0.00258/0.01107, allocations: 164.9 kB / 1.008 GB, free: 15.1 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.467965230345726]