Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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.0009152/0.0009152, allocations: 92.22 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.0008955/0.0008955, allocations: 165 kB / 23.02 MB, free: 1.551 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.024/1.024, allocations: 177.1 MB / 203.4 MB, free: 5.078 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.211/2.211, allocations: 429.5 MB / 0.6732 GB, free: 4.008 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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.525e-06/2.525e-06, allocations: 0 / 0.8782 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.335e-05/3.588e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.16 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001575/0.001611, allocations: 0.72 MB / 0.8789 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009395/0.00255, allocations: 0.8458 MB / 0.8798 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.191e-05/0.002592, allocations: 0 / 0.8798 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.242e-05/0.002625, allocations: 4.5 kB / 0.8798 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.893e-05/0.002704, allocations: 12.03 kB / 0.8798 GB, free: 4.594 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.576e-05/0.002769, allocations: 7.984 kB / 0.8798 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.19e-05/0.002851, allocations: 51.34 kB / 0.8798 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.002954, allocations: 4 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.049e-05/0.003034, allocations: 28.69 kB / 0.8799 GB, free: 4.508 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.615e-05/0.00307, allocations: 11.98 kB / 0.8799 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.003088, allocations: 11.75 kB / 0.8799 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.573e-06/0.003095, allocations: 4 kB / 0.8799 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/0.003114, allocations: 8 kB / 0.8799 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.003141, allocations: 15.97 kB / 0.8799 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.513e-05/0.003236, allocations: 31.84 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.003239, allocations: 0 / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.784e-06/0.00324, allocations: 0 / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.003245, allocations: 0 / 0.88 GB, free: 4.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004058/0.003651, allocations: 376.5 kB / 0.8803 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.003693, allocations: 12.03 kB / 0.8803 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.003731, allocations: 6.406 kB / 0.8803 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.342e-05/0.003824, allocations: 112.6 kB / 0.8804 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.003837, allocations: 4.359 kB / 0.8804 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.003849, allocations: 4.375 kB / 0.8804 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.003996, allocations: 63.91 kB / 0.8805 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.004008, allocations: 5.25 kB / 0.8805 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.004017, allocations: 384 / 0.8805 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.004026, allocations: 4.375 kB / 0.8805 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.217e-05/0.004058, allocations: 7.938 kB / 0.8805 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.004389, allocations: 260.9 kB / 0.8808 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.636e-05/0.004466, allocations: 39.05 kB / 0.8808 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.004491, allocations: 12.72 kB / 0.8808 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.0045, allocations: 3.938 kB / 0.8808 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.004526, allocations: 34.27 kB / 0.8809 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.004527, allocations: 0 / 0.8809 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001654/0.004692, allocations: 54.3 kB / 0.8809 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.004725, allocations: 55.41 kB / 0.881 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.004812, allocations: 175.5 kB / 0.8811 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.004823, allocations: 29.64 kB / 0.8812 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.004876, allocations: 134.9 kB / 0.8813 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.004896, allocations: 7.906 kB / 0.8813 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.00493, allocations: 27.36 kB / 0.8813 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.005066, allocations: 492.6 kB / 0.8818 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.455e-05/0.005091, allocations: 9.688 kB / 0.8818 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.548e-05/0.005106, allocations: 4 kB / 0.8818 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.119e-05/0.005157, allocations: 19.95 kB / 0.8818 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.00516, allocations: 0 / 0.8818 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.086e-05/0.005251, allocations: 41.69 kB / 0.8819 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.005272, allocations: 13.12 kB / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.00528, allocations: 0 / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.005305, allocations: 0 / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.005417, allocations: 16.73 kB / 0.8819 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.005423, allocations: 0.7812 kB / 0.8819 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.005453, allocations: 11.92 kB / 0.8819 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.005459, allocations: 1.594 kB / 0.8819 GB, free: 2.234 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 (3): * Single equations (assignments): 3 * 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 7.932e-05/0.005539, allocations: 160.6 kB / 0.8821 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.005556, allocations: 3.953 kB / 0.8821 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.005589, allocations: 11.94 kB / 0.8821 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.005591, allocations: 2.812 kB / 0.8821 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.005596, allocations: 0 / 0.8821 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.0056, allocations: 0 / 0.8821 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.005724, allocations: 124.6 kB / 0.8822 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.005726, allocations: 0 / 0.8822 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.51e-05/0.005761, allocations: 11.98 kB / 0.8822 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.005763, allocations: 0 / 0.8822 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.005771, allocations: 1.719 kB / 0.8822 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.005773, allocations: 3.938 kB / 0.8822 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.005774, allocations: 0 / 0.8822 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.005916, allocations: 191.9 kB / 0.8824 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.005926, allocations: 7.953 kB / 0.8824 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.005938, allocations: 4 kB / 0.8824 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.998e-05/0.005978, allocations: 11.92 kB / 0.8824 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.006027, allocations: 4 kB / 0.8824 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.00603, allocations: 4 kB / 0.8824 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.37e-05/0.006084, allocations: 131.1 kB / 0.8826 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006084, allocations: 0 / 0.8826 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001523/0.006236, allocations: 8 kB / 0.8826 GB, free: 1.504 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 (3): * Single equations (assignments): 3 * 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.0001106/0.006347, allocations: 91.25 kB / 0.8826 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.808e-05/0.006445, allocations: 23.67 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.006447, allocations: 4 kB / 0.8827 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.006471, allocations: 19.62 kB / 0.8827 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.006682, allocations: 7.984 kB / 0.8827 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003039/0.006986, allocations: 134.3 kB / 0.8828 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.468e-05/0.007031, allocations: 59.34 kB / 0.8829 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.432e-05/0.007055, allocations: 8 kB / 0.8829 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.007089, allocations: 12.5 kB / 0.8829 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of SimCode: time 7.32e-07/0.007089, allocations: 0 / 0.8829 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of Templates: time 0.002589/0.009679, allocations: 0.7526 MB / 0.8836 GB, free: 352 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.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.690577504225075]