Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009623/0.0009623, allocations: 97.64 kB / 15.36 MB, free: 0.7305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009482/0.0009483, allocations: 171.5 kB / 16.26 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.496/2.496, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003543, allocations: 8 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7278/0.7282, allocations: 142.4 MB / 0.955 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002438/0.7307, allocations: 2.127 MB / 0.9571 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007844/0.7315, allocations: 0.5187 MB / 0.9576 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.349e-05/0.7316, allocations: 6.781 kB / 0.9576 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003914/0.732, allocations: 120.2 kB / 0.9577 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.7322, allocations: 77.41 kB / 0.9578 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001275/0.7323, allocations: 37.91 kB / 0.9579 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.7326, allocations: 236.2 kB / 0.9581 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.7328, allocations: 94.58 kB / 0.9582 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.7329, allocations: 73.98 kB / 0.9582 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.733, allocations: 88.81 kB / 0.9583 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.7331, allocations: 8.625 kB / 0.9583 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.742e-05/0.7331, allocations: 7.781 kB / 0.9583 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.08e-05/0.7332, allocations: 69.12 kB / 0.9584 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.7334, allocations: 162.2 kB / 0.9586 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.7336, allocations: 324.9 kB / 0.9589 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.7337, allocations: 5 kB / 0.9589 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.935e-06/0.7337, allocations: 0 / 0.9589 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.7337, allocations: 0 / 0.9589 GB, free: 4.754 MB / 0.7169 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.0007926/0.7345, allocations: 0.5951 MB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.7345, allocations: 9.219 kB / 0.9595 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.481e-05/0.7346, allocations: 57.39 kB / 0.9595 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.735, allocations: 298.8 kB / 0.9598 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.735, allocations: 11.16 kB / 0.9598 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.7351, allocations: 14 kB / 0.9598 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.7354, allocations: 140.8 kB / 0.96 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.7354, allocations: 4.125 kB / 0.96 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.7354, allocations: 9.312 kB / 0.96 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.7354, allocations: 4.125 kB / 0.96 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002276/0.7357, allocations: 98.08 kB / 0.9601 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007925/0.7365, allocations: 0.5844 MB / 0.9607 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.7367, allocations: 94.42 kB / 0.9607 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.7368, allocations: 42.89 kB / 0.9608 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.7369, allocations: 1.375 kB / 0.9608 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.7369, allocations: 39.92 kB / 0.9608 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 2.975e-06/0.7369, allocations: 4 kB / 0.9608 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003527/0.7372, allocations: 139.3 kB / 0.961 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.7373, allocations: 52.53 kB / 0.961 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/0.7377, allocations: 393.4 kB / 0.9614 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.7377, allocations: 30.8 kB / 0.9614 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.7378, allocations: 221.3 kB / 0.9616 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.7379, allocations: 28.81 kB / 0.9617 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.7379, allocations: 19.95 kB / 0.9617 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.08e-05/0.738, allocations: 352.1 kB / 0.962 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.182e-05/0.7381, allocations: 26.95 kB / 0.962 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.311e-05/0.7382, allocations: 61.09 kB / 0.9621 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.7384, allocations: 88.73 kB / 0.9622 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.7384, allocations: 1.625 kB / 0.9622 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002504/0.7387, allocations: 141.6 kB / 0.9623 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.7387, allocations: 5.344 kB / 0.9623 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.7387, allocations: 1.344 kB / 0.9623 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.7387, allocations: 1.344 kB / 0.9623 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.7388, allocations: 28.7 kB / 0.9623 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.7389, allocations: 1.281 kB / 0.9623 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.97e-05/0.739, allocations: 12.91 kB / 0.9624 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.739, allocations: 3.75 kB / 0.9624 GB, free: 1.824 MB / 0.7169 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 (13): * Single equations (assignments): 13 * 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 0.000142/0.7391, allocations: 168.2 kB / 0.9625 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.7392, allocations: 42.84 kB / 0.9626 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7e-05/0.7393, allocations: 37 kB / 0.9626 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.7393, allocations: 2.156 kB / 0.9626 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7393, allocations: 3.938 kB / 0.9626 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.7393, allocations: 4 kB / 0.9626 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.7396, allocations: 313.2 kB / 0.9629 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7396, allocations: 1.125 kB / 0.9629 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.7397, allocations: 22.61 kB / 0.9629 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.7397, allocations: 8.688 kB / 0.9629 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.7398, allocations: 1 kB / 0.9629 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.7398, allocations: 1 kB / 0.9629 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.7398, allocations: 0 / 0.9629 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.7401, allocations: 262.3 kB / 0.9632 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.232e-05/0.7402, allocations: 110.1 kB / 0.9633 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.7402, allocations: 0.9688 kB / 0.9633 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.7404, allocations: 2.281 kB / 0.9633 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.7404, allocations: 11.39 kB / 0.9633 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.7404, allocations: 2.188 kB / 0.9633 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002944/0.7407, allocations: 281.5 kB / 0.9636 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7407, allocations: 0 / 0.9636 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003012/0.741, allocations: 50.19 kB / 0.9636 GB, free: 0.7891 MB / 0.7169 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 (9): * Single equations (assignments): 9 * 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.0001394/0.7412, allocations: 100.6 kB / 0.9637 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.7414, allocations: 74.78 kB / 0.9638 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7414, allocations: 0 / 0.9638 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.141e-05/0.7415, allocations: 32.53 kB / 0.9638 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.7419, allocations: 29.92 kB / 0.9639 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.743, allocations: 0.7953 MB / 0.9646 GB, free: 60 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.7435, allocations: 0.804 MB / 0.9654 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.432e-05/0.7436, allocations: 18.67 kB / 0.9654 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.7436, allocations: 13.72 kB / 0.9654 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.7436, allocations: 0 / 0.9654 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of Templates: time 0.005021/0.7487, allocations: 1.184 MB / 0.9666 GB, free: 14.7 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches