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.0009646/0.0009646, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009383/0.0009383, allocations: 165.3 kB / 23.02 MB, free: 1.547 MB / 18.57 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.008/1.008, allocations: 177.1 MB / 203.4 MB, free: 5.18 MB / 186.7 MB " [Timeout remaining time 179] 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.181/2.181, allocations: 429.5 MB / 0.6732 GB, free: 4.07 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.985e-06/2.985e-06, allocations: 0 / 0.8782 GB, free: 5.148 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.746e-05, allocations: 3.188 kB / 0.8782 GB, free: 5.145 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001434/0.001461, allocations: 0.5997 MB / 0.8788 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 4.203e-05/0.001503, allocations: 0.8438 kB / 0.8788 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.001526, allocations: 0 / 0.8788 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.001549, allocations: 4.234 kB / 0.8788 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.482e-05/0.001574, allocations: 0 / 0.8788 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 2.809e-05/0.001602, allocations: 0 / 0.8788 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.313e-05/0.001655, allocations: 12.75 kB / 0.8788 GB, free: 4.555 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.001696, allocations: 3.984 kB / 0.8788 GB, free: 4.551 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 2.755e-05/0.001724, allocations: 0.7656 kB / 0.8788 GB, free: 4.551 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 1.941e-05/0.001743, allocations: 4 kB / 0.8788 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.001757, allocations: 0 / 0.8788 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.177e-06/0.001761, allocations: 0 / 0.8788 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.001773, allocations: 0.9844 kB / 0.8788 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.635e-05/0.001789, allocations: 1.875 kB / 0.8788 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 5.772e-05/0.001847, allocations: 1.094 kB / 0.8788 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.00185, allocations: 0 / 0.8788 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.312e-06/0.001851, allocations: 0 / 0.8788 GB, free: 4.547 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.001855, allocations: 3.938 kB / 0.8788 GB, free: 4.543 MB / 0.7917 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.0002673/0.002122, allocations: 353.4 kB / 0.8792 GB, free: 4.16 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.002162, allocations: 12.03 kB / 0.8792 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.002193, allocations: 0.9375 kB / 0.8792 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.736e-05/0.00227, allocations: 105.7 kB / 0.8793 GB, free: 4.02 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.00228, allocations: 4.375 kB / 0.8793 GB, free: 4.016 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-06/0.002289, allocations: 1.969 kB / 0.8793 GB, free: 4.016 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.195e-05/0.002351, allocations: 27.03 kB / 0.8793 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.002358, allocations: 192 / 0.8793 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.002366, allocations: 384 / 0.8793 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.002372, allocations: 2.844 kB / 0.8793 GB, free: 3.984 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.06e-05/0.002383, allocations: 7.938 kB / 0.8793 GB, free: 3.977 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.002638, allocations: 482.4 kB / 0.8798 GB, free: 3.469 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.706e-05/0.002725, allocations: 261.4 kB / 0.88 GB, free: 3.199 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.002758, allocations: 130.8 kB / 0.8802 GB, free: 3.066 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/0.003057, allocations: 123.2 kB / 0.8803 GB, free: 2.945 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.003101, allocations: 158.6 kB / 0.8804 GB, free: 2.781 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.003102, allocations: 0 / 0.8804 GB, free: 2.781 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 5.573e-05/0.003157, allocations: 33.58 kB / 0.8805 GB, free: 2.742 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.003207, allocations: 174.6 kB / 0.8806 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.74e-05/0.003285, allocations: 153.9 kB / 0.8808 GB, free: 2.391 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.003293, allocations: 26.42 kB / 0.8808 GB, free: 2.359 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.003331, allocations: 126.9 kB / 0.8809 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-06/0.003333, allocations: 1.656 kB / 0.8809 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.003352, allocations: 19.38 kB / 0.8809 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.003467, allocations: 496.1 kB / 0.8814 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-06/0.003472, allocations: 0 / 0.8814 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.003476, allocations: 1.938 kB / 0.8814 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.047e-05/0.003506, allocations: 119.2 kB / 0.8815 GB, free: 1.59 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.459e-05/0.003531, allocations: 119.2 kB / 0.8816 GB, free: 1.473 MB / 0.7917 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.808e-05/0.003569, allocations: 33.77 kB / 0.8817 GB, free: 1.434 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.842e-05/0.003608, allocations: 131.2 kB / 0.8818 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.003635, allocations: 127.1 kB / 0.8819 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.163e-05/0.003697, allocations: 242.3 kB / 0.8821 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.683e-05/0.003724, allocations: 119.3 kB / 0.8823 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.185e-05/0.003776, allocations: 250.4 kB / 0.8825 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.003825, allocations: 123.1 kB / 0.8826 GB, free: 468 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.003851, allocations: 123.2 kB / 0.8827 GB, free: 344 kB / 0.7917 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.0001167/0.003967, allocations: 395 kB / 0.8831 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.004015, allocations: 152.8 kB / 0.8833 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.295e-05/0.004068, allocations: 155.8 kB / 0.8834 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.767e-05/0.004125, allocations: 268.1 kB / 0.8837 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002182/0.004344, allocations: 268 kB / 0.8839 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.365e-05/0.004397, allocations: 268.1 kB / 0.8842 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.004553, allocations: 0.4921 MB / 0.8847 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.13e-05/0.004584, allocations: 144.9 kB / 0.8848 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.004615, allocations: 148.9 kB / 0.8849 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.517e-05/0.00467, allocations: 268 kB / 0.8852 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.004729, allocations: 272.1 kB / 0.8855 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-05/0.004788, allocations: 276 kB / 0.8857 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.406e-05/0.004842, allocations: 268 kB / 0.886 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.004967, allocations: 444 kB / 0.8864 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.005009, allocations: 160.9 kB / 0.8865 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.005073, allocations: 268 kB / 0.8868 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.005123, allocations: 148.8 kB / 0.8869 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.005186, allocations: 272 kB / 0.8872 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.244e-05/0.005218, allocations: 149.2 kB / 0.8873 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.944e-05/0.005258, allocations: 119.2 kB / 0.8875 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005258, allocations: 0 / 0.8875 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001544/0.005412, allocations: 4 kB / 0.8875 GB, free: 11.29 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 (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.0001217/0.005534, allocations: 214.5 kB / 0.8877 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.417e-05/0.005578, allocations: 4 kB / 0.8877 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.005581, allocations: 4 kB / 0.8877 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.005583, allocations: 3.938 kB / 0.8877 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.005898, allocations: 0.7024 MB / 0.8884 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002345/0.006133, allocations: 212.6 kB / 0.8886 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.006168, allocations: 55.34 kB / 0.8886 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.033e-06/0.00617, allocations: 0 / 0.8886 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.304e-05/0.006183, allocations: 8.5 kB / 0.8886 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of SimCode: time 9.12e-07/0.006184, allocations: 4 kB / 0.8886 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of Templates: time 0.001448/0.007631, allocations: 172.9 kB / 0.8888 GB, free: 9.859 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] 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","",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.477593418210745]