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.001254/0.001254, 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.001477/0.001477, 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 1.114/1.114, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.457/2.457, allocations: 429.5 MB / 0.6743 GB, free: 3.895 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 3.136e-06/3.136e-06, allocations: 0 / 0.8795 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.394e-05/3.708e-05, allocations: 6.219 kB / 0.8795 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001999/0.002036, allocations: 0.6956 MB / 0.8801 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.00307, allocations: 0.858 MB / 0.881 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.003114, allocations: 0 / 0.881 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.336e-05/0.003148, allocations: 0 / 0.881 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.453e-05/0.003232, allocations: 7.094 kB / 0.881 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002062/0.003438, allocations: 11.98 kB / 0.881 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.622e-05/0.003515, allocations: 24.52 kB / 0.881 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.003618, allocations: 7.984 kB / 0.881 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.47e-05/0.003703, allocations: 16.73 kB / 0.881 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.798e-05/0.003751, allocations: 11.98 kB / 0.8811 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.003766, allocations: 0.8438 kB / 0.8811 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.779e-05/0.003814, allocations: 7.938 kB / 0.8811 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.003831, allocations: 4.875 kB / 0.8811 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.615e-05/0.003847, allocations: 4 kB / 0.8811 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.765e-05/0.003945, allocations: 23.91 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.003947, allocations: 1.094 kB / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.72e-07/0.003948, allocations: 0 / 0.8811 GB, free: 4.301 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.003952, allocations: 0 / 0.8811 GB, free: 4.301 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.000374/0.004326, allocations: 357.6 kB / 0.8814 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.004377, allocations: 12.03 kB / 0.8814 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.00449, allocations: 2.031 kB / 0.8814 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.004602, allocations: 120.5 kB / 0.8816 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.004617, allocations: 4.375 kB / 0.8816 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.004627, allocations: 5.344 kB / 0.8816 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.004755, allocations: 50.94 kB / 0.8816 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.004763, allocations: 0.9375 kB / 0.8816 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.004772, allocations: 4.375 kB / 0.8816 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.004777, allocations: 3.875 kB / 0.8816 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.609e-05/0.004803, allocations: 3.938 kB / 0.8816 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.005096, allocations: 232.4 kB / 0.8819 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.503e-05/0.005151, allocations: 27.11 kB / 0.8819 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.06e-05/0.005172, allocations: 19.73 kB / 0.8819 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.005189, allocations: 0 / 0.8819 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.005216, allocations: 33.39 kB / 0.8819 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.005218, allocations: 0 / 0.8819 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001481/0.005366, allocations: 42.2 kB / 0.882 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.005405, allocations: 56 kB / 0.882 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.261e-05/0.005497, allocations: 161.9 kB / 0.8822 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.005511, allocations: 27.23 kB / 0.8822 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.005567, allocations: 130.9 kB / 0.8823 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.005592, allocations: 3.953 kB / 0.8823 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.005621, allocations: 23.31 kB / 0.8824 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.005776, allocations: 0.4885 MB / 0.8828 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.206e-05/0.005788, allocations: 4 kB / 0.8828 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-06/0.005795, allocations: 0 / 0.8828 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.527e-05/0.00582, allocations: 11.69 kB / 0.8828 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005822, allocations: 0 / 0.8828 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.159e-05/0.005873, allocations: 45.59 kB / 0.8829 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.005885, allocations: 7.984 kB / 0.8829 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.005891, allocations: 8.188 kB / 0.8829 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.005901, allocations: 3.938 kB / 0.8829 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.011e-05/0.005961, allocations: 8.094 kB / 0.8829 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.005965, allocations: 0 / 0.8829 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.005985, allocations: 7.984 kB / 0.8829 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.00599, allocations: 0 / 0.8829 GB, free: 2.23 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 7.767e-05/0.006067, allocations: 160.5 kB / 0.8831 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.006084, allocations: 4 kB / 0.8831 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.245e-05/0.006167, allocations: 41 kB / 0.8831 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.00617, allocations: 7.875 kB / 0.8831 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.006173, allocations: 4 kB / 0.8831 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.006177, allocations: 0 / 0.8831 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.006281, allocations: 97.3 kB / 0.8832 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.006282, allocations: 0 / 0.8832 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.006306, allocations: 7.984 kB / 0.8832 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.006307, allocations: 0 / 0.8832 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.006313, allocations: 0 / 0.8832 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.006313, allocations: 0 / 0.8832 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006314, allocations: 0 / 0.8832 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.006423, allocations: 187.9 kB / 0.8834 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.006431, allocations: 7.938 kB / 0.8834 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.699e-06/0.006441, allocations: 0 / 0.8834 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.81e-05/0.006469, allocations: 8.031 kB / 0.8834 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.0065, allocations: 0 / 0.8834 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.006503, allocations: 3.938 kB / 0.8834 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.969e-05/0.006553, allocations: 131.1 kB / 0.8836 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006553, allocations: 0 / 0.8836 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001378/0.006691, allocations: 4 kB / 0.8836 GB, free: 1.516 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 7.882e-05/0.00677, allocations: 99.19 kB / 0.8837 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.978e-05/0.00684, allocations: 15.69 kB / 0.8837 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.006842, allocations: 0 / 0.8837 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.745e-05/0.006859, allocations: 19.73 kB / 0.8837 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001935/0.007053, allocations: 4 kB / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.007292, allocations: 118.4 kB / 0.8838 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.00733, allocations: 63.23 kB / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.633e-05/0.007347, allocations: 0 / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.007398, allocations: 70.2 kB / 0.8839 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of SimCode: time 8.81e-07/0.007399, allocations: 0 / 0.8839 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of Templates: time 0.002192/0.009592, allocations: 0.512 MB / 0.8844 GB, free: 0.5625 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: 6.183195977006108]