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.001433/0.001433, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001447/0.001447, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9696/0.9696, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.219/2.219, allocations: 429.5 MB / 0.6743 GB, free: 3.918 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.564e-06/2.564e-06, allocations: 0 / 0.8795 GB, free: 5.938 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.483e-05, allocations: 7.078 kB / 0.8795 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.00198/0.002005, allocations: 0.728 MB / 0.8802 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.003245, allocations: 0.8495 MB / 0.881 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.003301, allocations: 1.656 kB / 0.881 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.835e-05/0.003339, allocations: 0 / 0.881 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.003444, allocations: 11.88 kB / 0.881 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.906e-05/0.003523, allocations: 11.98 kB / 0.881 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.003625, allocations: 44.34 kB / 0.8811 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.003743, allocations: 11.98 kB / 0.8811 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.003845, allocations: 25.47 kB / 0.8811 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.74e-05/0.003892, allocations: 15.92 kB / 0.8811 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.003915, allocations: 4 kB / 0.8811 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.667e-06/0.003924, allocations: 4 kB / 0.8811 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.003946, allocations: 8.672 kB / 0.8811 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.003972, allocations: 13.28 kB / 0.8811 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.004073, allocations: 31.89 kB / 0.8812 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.004075, allocations: 4 kB / 0.8812 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004075, allocations: 0 / 0.8812 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.004081, allocations: 5.531 kB / 0.8812 GB, free: 4.188 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.0004384/0.00452, allocations: 376.5 kB / 0.8815 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.004565, allocations: 8.031 kB / 0.8816 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.004597, allocations: 6.5 kB / 0.8816 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.004715, allocations: 120.5 kB / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.004727, allocations: 384 / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.004735, allocations: 384 / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.004884, allocations: 69.94 kB / 0.8817 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.004893, allocations: 192 / 0.8817 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.004901, allocations: 4.312 kB / 0.8817 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.004908, allocations: 384 / 0.8817 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.894e-05/0.004937, allocations: 11.88 kB / 0.8818 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.005254, allocations: 240.4 kB / 0.882 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.955e-05/0.005343, allocations: 39.11 kB / 0.882 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.371e-05/0.005367, allocations: 15.77 kB / 0.882 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.005377, allocations: 4 kB / 0.882 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.005405, allocations: 33.39 kB / 0.8821 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.005406, allocations: 0 / 0.8821 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001712/0.005578, allocations: 53.52 kB / 0.8821 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.005617, allocations: 51.41 kB / 0.8822 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.922e-05/0.005716, allocations: 169.9 kB / 0.8823 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.005731, allocations: 25.7 kB / 0.8824 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.348e-05/0.005794, allocations: 130.9 kB / 0.8825 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.005817, allocations: 7.906 kB / 0.8825 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.005859, allocations: 27.36 kB / 0.8825 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.006018, allocations: 0.4884 MB / 0.883 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.006036, allocations: 4 kB / 0.883 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.337e-05/0.00605, allocations: 0 / 0.883 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.901e-05/0.006089, allocations: 23.89 kB / 0.883 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.006091, allocations: 0 / 0.883 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.62e-05/0.006177, allocations: 41.69 kB / 0.8831 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.006191, allocations: 4 kB / 0.8831 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.006197, allocations: 4 kB / 0.8831 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.00621, allocations: 3.938 kB / 0.8831 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.2e-05/0.006292, allocations: 11.98 kB / 0.8831 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.006296, allocations: 4 kB / 0.8831 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.642e-05/0.006333, allocations: 4 kB / 0.8831 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.00634, allocations: 0 / 0.8831 GB, free: 2.035 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 9.247e-05/0.006433, allocations: 156.6 kB / 0.8832 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.006458, allocations: 7.953 kB / 0.8833 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.006485, allocations: 8 kB / 0.8833 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.006489, allocations: 7.938 kB / 0.8833 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.006492, allocations: 4 kB / 0.8833 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.006496, allocations: 3.938 kB / 0.8833 GB, free: 1.84 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.006628, allocations: 101.2 kB / 0.8834 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.006628, allocations: 7.938 kB / 0.8834 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.646e-05/0.006675, allocations: 12 kB / 0.8834 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006676, allocations: 0 / 0.8834 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.006683, allocations: 4 kB / 0.8834 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.006686, allocations: 3.984 kB / 0.8834 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006687, allocations: 0 / 0.8834 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.006831, allocations: 183.9 kB / 0.8836 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.006841, allocations: 7.938 kB / 0.8836 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.006852, allocations: 0 / 0.8836 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.083e-05/0.006913, allocations: 12 kB / 0.8836 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.006953, allocations: 11.92 kB / 0.8836 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.006956, allocations: 0 / 0.8836 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.811e-05/0.007004, allocations: 127.2 kB / 0.8837 GB, free: 1.332 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007004, allocations: 3.938 kB / 0.8837 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002022/0.007207, allocations: 8 kB / 0.8837 GB, free: 1.32 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.0001024/0.007309, allocations: 99.23 kB / 0.8838 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.546e-05/0.007404, allocations: 19.69 kB / 0.8839 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.007407, allocations: 0 / 0.8839 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.839e-05/0.007435, allocations: 19.67 kB / 0.8839 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.007684, allocations: 8.688 kB / 0.8839 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.007999, allocations: 138.2 kB / 0.884 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.51e-05/0.008045, allocations: 55.36 kB / 0.8841 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.695e-05/0.008071, allocations: 0 / 0.8841 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.16e-05/0.008143, allocations: 82.19 kB / 0.8841 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of SimCode: time 7.61e-07/0.008144, allocations: 4 kB / 0.8841 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of Templates: time 0.00302/0.01116, allocations: 0.8244 MB / 0.8849 GB, free: 20 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: 6.052533796057105]