Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001404/0.001404, 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.001664/0.001664, allocations: 169 kB / 24.28 MB, free: 276 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.9745/0.9745, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.973/1.973, allocations: 377.9 MB / 0.6239 GB, free: 8.566 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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.038e-06/4.038e-06, allocations: 0 / 0.8116 GB, free: 1.969 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.775e-05/4.179e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001754/0.001795, allocations: 0.6695 MB / 0.8123 GB, free: 1.316 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.002807, allocations: 0.8625 MB / 0.8131 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/0.002853, allocations: 1 kB / 0.8131 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.049e-05/0.002883, allocations: 4 kB / 0.8131 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.982e-05/0.002963, allocations: 8.766 kB / 0.8131 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.003199, allocations: 11.98 kB / 0.8131 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 9.808e-05/0.003297, allocations: 24.8 kB / 0.8132 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.003412, allocations: 0 / 0.8132 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.144e-05/0.003503, allocations: 19.92 kB / 0.8132 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.456e-05/0.003538, allocations: 4.781 kB / 0.8132 GB, free: 380 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.003552, allocations: 4 kB / 0.8132 GB, free: 376 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.986e-05/0.003602, allocations: 9.625 kB / 0.8132 GB, free: 368 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.003617, allocations: 7.969 kB / 0.8132 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.003636, allocations: 4 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.993e-05/0.003735, allocations: 23.86 kB / 0.8132 GB, free: 332 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.003739, allocations: 1.531 kB / 0.8132 GB, free: 332 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.163e-06/0.00374, allocations: 0 / 0.8132 GB, free: 332 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.003745, allocations: 0 / 0.8132 GB, free: 332 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.0003808/0.004126, allocations: 360.6 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.004169, allocations: 8.812 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.004281, allocations: 4.938 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.812e-05/0.004379, allocations: 117.3 kB / 0.8137 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.004392, allocations: 384 / 0.8137 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.004401, allocations: 1.969 kB / 0.8137 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.004528, allocations: 54.94 kB / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.004535, allocations: 192 / 0.8137 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.004544, allocations: 384 / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.004551, allocations: 1.094 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.004584, allocations: 15.86 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.004864, allocations: 244.3 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.306e-05/0.004917, allocations: 28.72 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.004943, allocations: 19.78 kB / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.00496, allocations: 0 / 0.814 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.004984, allocations: 33.39 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.004985, allocations: 0.5625 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001758/0.005161, allocations: 50.12 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.0052, allocations: 56.19 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.493e-05/0.005275, allocations: 157.9 kB / 0.8143 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.005285, allocations: 26.86 kB / 0.8144 GB, free: 15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.005332, allocations: 134.9 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.00535, allocations: 3.953 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.005375, allocations: 15.38 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.005492, allocations: 0.4897 MB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.005507, allocations: 4 kB / 0.815 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.005517, allocations: 7.938 kB / 0.815 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.859e-05/0.005545, allocations: 17.38 kB / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.005547, allocations: 0 / 0.815 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.231e-05/0.0056, allocations: 37.7 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.005615, allocations: 13.42 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.00562, allocations: 3.938 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.005633, allocations: 0 / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.005697, allocations: 8 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.005703, allocations: 0 / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.578e-05/0.005719, allocations: 0 / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.798e-06/0.005722, 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 6.492e-05/0.005787, allocations: 162.2 kB / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.005799, allocations: 0 / 0.8152 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.5e-05/0.005884, allocations: 52.88 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.005886, allocations: 0 / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.005889, allocations: 0.5938 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.005893, allocations: 0.5625 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.658e-05/0.00598, allocations: 124.6 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.005982, allocations: 4.531 kB / 0.8154 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.136e-05/0.006004, allocations: 8.547 kB / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.006006, allocations: 1.375 kB / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.006013, allocations: 0 / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.006015, allocations: 3.938 kB / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.006016, allocations: 0 / 0.8154 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.139e-05/0.006107, allocations: 194.4 kB / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.006112, allocations: 0 / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-06/0.006121, allocations: 0 / 0.8156 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.107e-05/0.006152, allocations: 7.938 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.006186, allocations: 4.172 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.006188, allocations: 0 / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.207e-05/0.006221, allocations: 127.2 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006221, allocations: 0.5312 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001313/0.006352, allocations: 4.688 kB / 0.8157 GB, free: 13.5 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 0.0001244/0.006476, allocations: 100.3 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.006584, allocations: 16.77 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.006587, allocations: 0 / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.311e-05/0.00661, allocations: 19.56 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.006841, allocations: 4.844 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.007152, allocations: 120.6 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.259e-05/0.007184, allocations: 51.36 kB / 0.816 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.465e-05/0.007199, allocations: 0 / 0.816 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.837e-05/0.007227, allocations: 12.5 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of SimCode: time 8.11e-07/0.007228, allocations: 1.469 kB / 0.816 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of Templates: time 0.00209/0.009318, allocations: 475.2 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.Exp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.335549318930134]