Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.0009546/0.0009546, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001055/0.001055, allocations: 161 kB / 24.17 MB, free: 332 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.9591/0.9591, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.919/1.919, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.384e-05, allocations: 7.969 kB / 0.76 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002347/0.002361, allocations: 2.485 MB / 0.7625 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006633/0.003024, allocations: 0.5454 MB / 0.763 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.898e-05/0.003093, allocations: 4.656 kB / 0.763 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000257/0.00335, allocations: 129.6 kB / 0.7631 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.003463, allocations: 95.53 kB / 0.7632 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 8.803e-05/0.003551, allocations: 40.58 kB / 0.7633 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.003721, allocations: 252.7 kB / 0.7635 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.003843, allocations: 78.28 kB / 0.7636 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.003982, allocations: 143.6 kB / 0.7637 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.802e-05/0.00408, allocations: 67.75 kB / 0.7638 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.004105, allocations: 20 kB / 0.7638 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 2.143e-05/0.004127, allocations: 17.59 kB / 0.7638 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.228e-05/0.004189, allocations: 79.69 kB / 0.7639 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.004246, allocations: 83.72 kB / 0.764 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.004421, allocations: 211 kB / 0.7642 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004422, allocations: 1.25 kB / 0.7642 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.92e-07/0.004423, allocations: 0 / 0.7642 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.004426, allocations: 0 / 0.7642 GB, free: 2.375 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000417/0.004843, allocations: 0.5385 MB / 0.7647 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.004871, allocations: 8.031 kB / 0.7647 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.447e-05/0.004925, allocations: 43.53 kB / 0.7647 GB, free: 1.762 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.005085, allocations: 231.9 kB / 0.765 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.0051, allocations: 8.375 kB / 0.765 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.005121, allocations: 16.38 kB / 0.765 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.005251, allocations: 114.6 kB / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.005259, allocations: 192 / 0.7651 GB, free: 1.367 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.005269, allocations: 11.12 kB / 0.7651 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.005275, allocations: 4.375 kB / 0.7651 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.685e-05/0.005332, allocations: 41.45 kB / 0.7652 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/0.005937, allocations: 327.6 kB / 0.7655 GB, free: 0.9805 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.273e-05/0.00603, allocations: 43.58 kB / 0.7655 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.006056, allocations: 20.86 kB / 0.7655 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-06/0.006064, allocations: 11.88 kB / 0.7655 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.00608, allocations: 35.48 kB / 0.7656 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 7.91e-07/0.006081, allocations: 0 / 0.7656 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.000103/0.006184, allocations: 70.61 kB / 0.7656 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.006209, allocations: 55.41 kB / 0.7657 GB, free: 0.7109 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.006376, allocations: 327.8 kB / 0.766 GB, free: 388 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.006388, allocations: 33.7 kB / 0.766 GB, free: 348 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/0.006455, allocations: 176.6 kB / 0.7662 GB, free: 168 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.006472, allocations: 23.75 kB / 0.7662 GB, free: 144 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.153e-05/0.006503, allocations: 29.69 kB / 0.7663 GB, free: 108 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.657e-05/0.0066, allocations: 346.8 kB / 0.7666 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.915e-05/0.006619, allocations: 19.86 kB / 0.7666 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.811e-05/0.006647, allocations: 31.42 kB / 0.7666 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.167e-05/0.006699, allocations: 62.06 kB / 0.7667 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.006701, allocations: 0 / 0.7667 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 7.847e-05/0.00678, allocations: 93.47 kB / 0.7668 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.00679, allocations: 4 kB / 0.7668 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.006794, allocations: 0 / 0.7668 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.006803, allocations: 4.531 kB / 0.7668 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.347e-05/0.006866, allocations: 19.98 kB / 0.7668 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.00687, allocations: 5.5 kB / 0.7668 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.418e-05/0.006904, allocations: 7.891 kB / 0.7668 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.006909, allocations: 4 kB / 0.7668 GB, free: 15.48 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * 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.036e-05/0.006979, allocations: 129.1 kB / 0.767 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.007002, allocations: 22.7 kB / 0.767 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.007041, allocations: 43.27 kB / 0.767 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.007042, allocations: 0 / 0.767 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.007044, allocations: 0 / 0.767 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.007046, allocations: 0 / 0.767 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.007177, allocations: 141.8 kB / 0.7672 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.007178, allocations: 0 / 0.7672 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.9e-05/0.007227, allocations: 16 kB / 0.7672 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.007228, allocations: 3.656 kB / 0.7672 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.007237, allocations: 11.92 kB / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.007238, allocations: 0 / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.51e-07/0.007238, allocations: 4 kB / 0.7672 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.007356, allocations: 179.7 kB / 0.7674 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.182e-05/0.007388, allocations: 35.7 kB / 0.7674 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.007406, allocations: 11.92 kB / 0.7674 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.017e-05/0.007446, allocations: 4 kB / 0.7674 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.007468, allocations: 0 / 0.7674 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.007471, allocations: 7.359 kB / 0.7674 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.142e-05/0.007553, allocations: 140.6 kB / 0.7675 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007553, allocations: 0 / 0.7675 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001428/0.007696, allocations: 47.89 kB / 0.7676 GB, free: 14.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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 (8): * Single equations (assignments): 8 * 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 6.094e-05/0.007756, allocations: 76.42 kB / 0.7677 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.614e-05/0.007823, allocations: 40.77 kB / 0.7677 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.007828, allocations: 9.438 kB / 0.7677 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-05/0.007852, allocations: 32.78 kB / 0.7677 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.008003, allocations: 19.06 kB / 0.7678 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.008687, allocations: 0.601 MB / 0.7684 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.34e-05/0.00875, allocations: 103.3 kB / 0.7685 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.643e-05/0.008787, allocations: 11.64 kB / 0.7685 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.347e-05/0.00884, allocations: 68.39 kB / 0.7685 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/0.008841, allocations: 0 / 0.7685 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of Templates: time 0.003467/0.01231, allocations: 1.123 MB / 0.7696 GB, free: 12.64 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.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: 4.86085504014045]