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.002146/0.002146, allocations: 81.42 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002688/0.002688, allocations: 165.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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.622/1.622, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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 3.174/3.174, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] 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.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 2.315e-06/2.315e-06, allocations: 0 / 0.9814 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.605e-05/3.836e-05, allocations: 6.281 kB / 0.9814 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004218/0.004257, allocations: 2.365 MB / 0.9838 GB, free: 8.504 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.005338, allocations: 0.4965 MB / 0.9842 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.229e-05/0.00543, allocations: 4 kB / 0.9842 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004455/0.005876, allocations: 119.2 kB / 0.9844 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.006071, allocations: 99.2 kB / 0.9845 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.006219, allocations: 39.95 kB / 0.9845 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.006575, allocations: 266.5 kB / 0.9847 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.006805, allocations: 75.59 kB / 0.9848 GB, free: 7.414 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.007013, allocations: 131.8 kB / 0.9849 GB, free: 7.285 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.007174, allocations: 75.73 kB / 0.985 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.784e-05/0.007231, allocations: 20 kB / 0.985 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 5.096e-05/0.007282, allocations: 19.94 kB / 0.9851 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.007397, allocations: 83.7 kB / 0.9851 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.007522, allocations: 87.66 kB / 0.9852 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.007951, allocations: 326.8 kB / 0.9855 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.007958, allocations: 3.984 kB / 0.9855 GB, free: 6.68 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.82e-07/0.007959, allocations: 4 kB / 0.9855 GB, free: 6.676 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.007966, allocations: 3.938 kB / 0.9855 GB, free: 6.672 MB / 0.8887 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.00102/0.008986, allocations: 0.5779 MB / 0.9861 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.009036, allocations: 12.02 kB / 0.9861 GB, free: 6.047 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.009137, allocations: 44.66 kB / 0.9862 GB, free: 6.004 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004367/0.009573, allocations: 243.9 kB / 0.9864 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.009595, allocations: 12.38 kB / 0.9864 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.009636, allocations: 12.38 kB / 0.9864 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.009967, allocations: 147.5 kB / 0.9866 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.009982, allocations: 192 / 0.9866 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.01, allocations: 12.38 kB / 0.9866 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.01001, allocations: 4.375 kB / 0.9866 GB, free: 5.559 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.01027, allocations: 95.89 kB / 0.9867 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008604/0.01113, allocations: 483.9 kB / 0.9871 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002747/0.0114, allocations: 90.53 kB / 0.9872 GB, free: 4.863 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.01151, allocations: 44.84 kB / 0.9873 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.01152, allocations: 4 kB / 0.9873 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.01155, allocations: 34.56 kB / 0.9873 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.01155, allocations: 0 / 0.9873 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of matching and sorting (n=9): time 0.0003981/0.01195, allocations: 145.4 kB / 0.9874 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.012, allocations: 55.39 kB / 0.9875 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004423/0.01244, allocations: 386 kB / 0.9879 GB, free: 4.168 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.01246, allocations: 25.7 kB / 0.9879 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.01266, allocations: 224.2 kB / 0.9881 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.01269, allocations: 35.72 kB / 0.9881 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.01274, allocations: 33.66 kB / 0.9882 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.01291, allocations: 343.2 kB / 0.9885 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.01301, allocations: 31.98 kB / 0.9885 GB, free: 3.465 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.01311, allocations: 51.36 kB / 0.9886 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.01331, allocations: 95.3 kB / 0.9887 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01331, allocations: 0 / 0.9887 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002769/0.01359, allocations: 157.2 kB / 0.9888 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.0136, allocations: 4 kB / 0.9888 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.01361, allocations: 0 / 0.9888 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.01363, allocations: 4 kB / 0.9888 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.01376, allocations: 23.98 kB / 0.9888 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.01376, allocations: 0 / 0.9888 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.495e-05/0.01385, allocations: 15.89 kB / 0.9888 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.01386, allocations: 4 kB / 0.9889 GB, free: 3.086 MB / 0.8887 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.0001958/0.01405, allocations: 165.8 kB / 0.989 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.01411, allocations: 43.7 kB / 0.9891 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.607e-05/0.01419, allocations: 39.28 kB / 0.9891 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.01419, allocations: 0 / 0.9891 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01419, allocations: 0 / 0.9891 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.0142, allocations: 7.984 kB / 0.9891 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.0145, allocations: 225.2 kB / 0.9893 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.0145, allocations: 0 / 0.9893 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.01463, allocations: 23.92 kB / 0.9893 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.01463, allocations: 0 / 0.9893 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.01464, allocations: 4 kB / 0.9893 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01464, allocations: 4 kB / 0.9893 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.01465, allocations: 0 / 0.9893 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000401/0.01505, allocations: 255.2 kB / 0.9896 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 7.301e-05/0.01512, allocations: 47.66 kB / 0.9896 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.01515, allocations: 4 kB / 0.9896 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.01525, allocations: 7.984 kB / 0.9896 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.196e-05/0.0153, allocations: 7.984 kB / 0.9897 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.01531, allocations: 4 kB / 0.9897 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003041/0.01562, allocations: 283.1 kB / 0.9899 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.01562, allocations: 0 / 0.9899 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002727/0.01589, allocations: 47.95 kB / 0.99 GB, free: 1.879 MB / 0.8887 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.0001422/0.01603, allocations: 107 kB / 0.9901 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.01626, allocations: 67.91 kB / 0.9901 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.01626, allocations: 0 / 0.9901 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 8.842e-05/0.01635, allocations: 35.92 kB / 0.9902 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.01678, allocations: 25.83 kB / 0.9902 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.01799, allocations: 0.6182 MB / 0.9908 GB, free: 1 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.01822, allocations: 191 kB / 0.991 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 6.416e-05/0.01828, allocations: 12.64 kB / 0.991 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.01833, allocations: 16.5 kB / 0.991 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of SimCode: time 4.11e-07/0.01833, allocations: 0 / 0.991 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of Templates: time 0.005546/0.02387, allocations: 1.099 MB / 0.9921 GB, free: 15.69 MB / 0.9044 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.063793770968914]