Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.00117/0.00117, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001257/0.001257, allocations: 169 kB / 24.28 MB, free: 280 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.9328/0.9328, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.902/1.902, allocations: 377.8 MB / 0.6239 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8116 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.371e-05, allocations: 8.719 kB / 0.8116 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001241/0.001265, allocations: 0.6769 MB / 0.8123 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008368/0.002102, allocations: 0.8602 MB / 0.8131 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.002145, allocations: 0 / 0.8131 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.138e-05/0.002177, allocations: 3.938 kB / 0.8131 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.112e-05/0.002248, allocations: 0 / 0.8131 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.002442, allocations: 20.44 kB / 0.8131 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.491e-05/0.002517, allocations: 23.92 kB / 0.8131 GB, free: 412 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.714e-05/0.002614, allocations: 4.656 kB / 0.8131 GB, free: 408 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.272e-05/0.002697, allocations: 16.52 kB / 0.8132 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.669e-05/0.002734, allocations: 11.92 kB / 0.8132 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.002749, allocations: 1.312 kB / 0.8132 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.537e-05/0.002795, allocations: 7.938 kB / 0.8132 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.002813, allocations: 11.98 kB / 0.8132 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.002833, allocations: 0.5312 kB / 0.8132 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.002934, allocations: 15.98 kB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.002937, allocations: 1.375 kB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.493e-06/0.002938, allocations: 4 kB / 0.8132 GB, free: 340 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.002944, allocations: 0 / 0.8132 GB, free: 340 kB / 0.7605 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.0003772/0.003321, allocations: 361.7 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.003357, allocations: 12.03 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.703e-05/0.003454, allocations: 4.938 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.996e-05/0.003544, allocations: 109.7 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.003554, allocations: 384 / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.003564, allocations: 4.375 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.003695, allocations: 63.94 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.003704, allocations: 192 / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.003715, allocations: 384 / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.003725, allocations: 1.25 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.003759, allocations: 7.938 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.004049, allocations: 245 kB / 0.814 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.281e-05/0.004102, allocations: 35.03 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.968e-05/0.004122, allocations: 7.688 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.00414, allocations: 5.375 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.004165, allocations: 33.39 kB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.004165, allocations: 0 / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001472/0.004313, allocations: 47.16 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.004346, allocations: 55.39 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.004421, allocations: 165.9 kB / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.00443, allocations: 28.48 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.004638, allocations: 126.9 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.004657, allocations: 7.891 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.004686, allocations: 27.36 kB / 0.8145 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.004801, allocations: 492.1 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.004816, allocations: 4 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.849e-06/0.004826, allocations: 0 / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.98e-05/0.004856, allocations: 16.19 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.004857, allocations: 0.5312 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.462e-05/0.004922, allocations: 39.62 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.004936, allocations: 8 kB / 0.815 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.004942, allocations: 3.938 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.004956, allocations: 0 / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.776e-05/0.005024, allocations: 7.938 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.005029, allocations: 1.688 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.795e-05/0.005047, allocations: 11.92 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.005051, allocations: 0 / 0.8151 GB, free: 14.24 MB / 0.7761 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.849e-05/0.00511, allocations: 153.5 kB / 0.8152 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/0.005129, allocations: 8 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.829e-05/0.005207, allocations: 45.78 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.005209, allocations: 0 / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.005212, allocations: 0 / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005215, allocations: 0.8438 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.144e-05/0.005307, allocations: 128.6 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.005307, allocations: 1.281 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.005328, allocations: 4 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.92e-07/0.005328, allocations: 0 / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.005335, allocations: 0.8438 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.005338, allocations: 7.938 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005339, allocations: 3.938 kB / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.491e-05/0.005424, allocations: 186.8 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-06/0.00543, allocations: 4 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.00544, allocations: 0 / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.927e-05/0.005469, allocations: 3.938 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.005507, allocations: 7.984 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.00551, allocations: 0 / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.005548, allocations: 129.9 kB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005548, allocations: 0 / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001363/0.005684, allocations: 4 kB / 0.8157 GB, free: 13.51 MB / 0.7761 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.888e-05/0.005763, allocations: 95.23 kB / 0.8158 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.7e-05/0.00586, allocations: 15.62 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.005861, allocations: 4.938 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.601e-05/0.005877, allocations: 11.69 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.006063, allocations: 5.094 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.00632, allocations: 119.5 kB / 0.816 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.419e-05/0.006354, allocations: 55.34 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.699e-05/0.006371, allocations: 5.125 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.481e-05/0.006396, allocations: 8.5 kB / 0.816 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of SimCode: time 7.01e-07/0.006397, allocations: 0 / 0.816 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of Templates: time 0.00208/0.008477, allocations: 498 kB / 0.8165 GB, free: 12.67 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.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.18224552902393]