Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001006/0.001006, 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.001021/0.001021, allocations: 169.3 kB / 23.02 MB, free: 1.555 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 0.9983/0.9983, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.178/2.178, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.856e-06/2.856e-06, allocations: 0 / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.224e-05, allocations: 5.406 kB / 0.8783 GB, free: 6.25 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001537/0.001569, allocations: 0.6843 MB / 0.8789 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.002423, allocations: 0.8652 MB / 0.8798 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.002457, allocations: 0 / 0.8798 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.755e-05/0.002485, allocations: 1.469 kB / 0.8798 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.718e-05/0.002552, allocations: 5.688 kB / 0.8798 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.002735, allocations: 11.98 kB / 0.8798 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.393e-05/0.002799, allocations: 24.25 kB / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.338e-05/0.002883, allocations: 5.031 kB / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.239e-05/0.002945, allocations: 15.92 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.418e-05/0.002979, allocations: 13.11 kB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.002993, allocations: 0 / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.254e-05/0.003035, allocations: 11.92 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.342e-05/0.003049, allocations: 1.094 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.003072, allocations: 8 kB / 0.8799 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.942e-05/0.003172, allocations: 19.86 kB / 0.8799 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.003174, allocations: 1.062 kB / 0.8799 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003175, allocations: 0 / 0.8799 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.00318, allocations: 0 / 0.8799 GB, free: 4.602 MB / 0.8386 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.0003831/0.003563, allocations: 361.5 kB / 0.8802 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.003603, allocations: 12.03 kB / 0.8802 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.003712, allocations: 5.438 kB / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.567e-05/0.003807, allocations: 116.5 kB / 0.8803 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.003821, allocations: 2.188 kB / 0.8804 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.003833, allocations: 4.375 kB / 0.8804 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.003962, allocations: 50.94 kB / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.003972, allocations: 4.188 kB / 0.8804 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.003981, allocations: 1.562 kB / 0.8804 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.003989, allocations: 384 / 0.8804 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.104e-05/0.00402, allocations: 15.88 kB / 0.8804 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.004297, allocations: 244.9 kB / 0.8807 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.143e-05/0.004348, allocations: 35.09 kB / 0.8807 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/0.004367, allocations: 8.344 kB / 0.8807 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.004387, allocations: 0 / 0.8807 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.004407, allocations: 39.05 kB / 0.8807 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.004407, allocations: 0 / 0.8807 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001494/0.004557, allocations: 45.58 kB / 0.8808 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.004584, allocations: 58.14 kB / 0.8808 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.587e-05/0.00465, allocations: 157.9 kB / 0.881 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.00466, allocations: 25.7 kB / 0.881 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.004701, allocations: 130.9 kB / 0.8811 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.674e-05/0.004718, allocations: 3.953 kB / 0.8811 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.004746, allocations: 23.36 kB / 0.8812 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.004854, allocations: 496.1 kB / 0.8816 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.51e-05/0.004869, allocations: 4 kB / 0.8816 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.767e-06/0.004878, allocations: 1.781 kB / 0.8816 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.916e-05/0.004907, allocations: 15.62 kB / 0.8817 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004909, allocations: 3.938 kB / 0.8817 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.42e-05/0.004963, allocations: 46.3 kB / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.004976, allocations: 9.656 kB / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.004982, allocations: 3.938 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.004997, allocations: 0 / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.00506, allocations: 4 kB / 0.8817 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.005065, allocations: 0 / 0.8817 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.973e-05/0.005085, allocations: 8.672 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.005089, allocations: 0.8438 kB / 0.8817 GB, free: 2.508 MB / 0.8386 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 5.902e-05/0.005148, allocations: 152.6 kB / 0.8819 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.005163, allocations: 4.219 kB / 0.8819 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.608e-05/0.005249, allocations: 52.88 kB / 0.8819 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.005251, allocations: 4.188 kB / 0.8819 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.005254, allocations: 0 / 0.8819 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.005258, allocations: 3.984 kB / 0.8819 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.209e-05/0.00535, allocations: 116.6 kB / 0.882 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.005351, allocations: 0 / 0.882 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.247e-05/0.005394, allocations: 4 kB / 0.8821 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.005396, allocations: 0 / 0.8821 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.005403, allocations: 4 kB / 0.8821 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.005406, allocations: 7.938 kB / 0.8821 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005407, allocations: 4.031 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.257e-05/0.0055, allocations: 187.9 kB / 0.8822 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.005509, allocations: 7.953 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-06/0.005519, allocations: 0 / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.138e-05/0.00555, allocations: 3.938 kB / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.005584, allocations: 7.984 kB / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.005587, allocations: 0 / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.005621, allocations: 123.2 kB / 0.8824 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005621, allocations: 0 / 0.8824 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000143/0.005764, allocations: 4 kB / 0.8824 GB, free: 1.762 MB / 0.8386 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 8.128e-05/0.005845, allocations: 99.28 kB / 0.8825 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.606e-05/0.005921, allocations: 15.67 kB / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.005923, allocations: 0 / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.846e-05/0.005941, allocations: 15.62 kB / 0.8825 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.006125, allocations: 4 kB / 0.8825 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.006368, allocations: 122.5 kB / 0.8826 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.335e-05/0.006401, allocations: 59.34 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.426e-05/0.006416, allocations: 0 / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.006441, allocations: 12.5 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of SimCode: time 7.12e-07/0.006442, allocations: 0 / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of Templates: time 0.001982/0.008424, allocations: 477.4 kB / 0.8832 GB, free: 0.918 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.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.587036736309528]