Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001485/0.001485, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001581/0.001581, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 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.9734/0.9734, allocations: 177.1 MB / 203.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.114/2.114, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.968e-05, allocations: 5.719 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.00306/0.00309, allocations: 2.506 MB / 0.8806 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007797/0.00387, allocations: 0.545 MB / 0.8812 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.581e-05/0.003945, allocations: 4 kB / 0.8812 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.004224, allocations: 121.1 kB / 0.8813 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.004347, allocations: 101.3 kB / 0.8814 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.812e-05/0.004435, allocations: 43.94 kB / 0.8814 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.004607, allocations: 254.5 kB / 0.8817 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.004726, allocations: 71.66 kB / 0.8817 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.004836, allocations: 131.7 kB / 0.8819 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.396e-05/0.00493, allocations: 76.45 kB / 0.8819 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.004955, allocations: 21.19 kB / 0.882 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 2.536e-05/0.00498, allocations: 16 kB / 0.882 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.005038, allocations: 87.69 kB / 0.8821 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.575e-05/0.005104, allocations: 91.72 kB / 0.8821 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.005303, allocations: 207.1 kB / 0.8823 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005305, allocations: 0 / 0.8823 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.61e-07/0.005305, allocations: 4 kB / 0.8823 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.00531, allocations: 3.938 kB / 0.8824 GB, free: 2.035 MB / 0.8386 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.0004914/0.005801, allocations: 0.6856 MB / 0.883 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.005829, allocations: 12.03 kB / 0.883 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.005881, allocations: 52.66 kB / 0.8831 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.006081, allocations: 262.7 kB / 0.8833 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.006095, allocations: 8.375 kB / 0.8833 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.006119, allocations: 16.38 kB / 0.8834 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.006273, allocations: 120.2 kB / 0.8835 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.006279, allocations: 192 / 0.8835 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.006291, allocations: 8.359 kB / 0.8835 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.006297, allocations: 8.312 kB / 0.8835 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.013e-05/0.006387, allocations: 51.66 kB / 0.8835 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/0.006892, allocations: 0.5616 MB / 0.8841 GB, free: 156 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.00702, allocations: 78.95 kB / 0.8842 GB, free: 64 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.007062, allocations: 27.73 kB / 0.8842 GB, free: 32 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.00707, allocations: 4 kB / 0.8842 GB, free: 28 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.0071, allocations: 37.39 kB / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 8.62e-07/0.007101, allocations: 0 / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0001617/0.007263, allocations: 113.4 kB / 0.8843 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.007286, allocations: 51.41 kB / 0.8844 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.007546, allocations: 446.7 kB / 0.8848 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.007558, allocations: 33.64 kB / 0.8848 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.007682, allocations: 283 kB / 0.8851 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.007699, allocations: 27.75 kB / 0.8851 GB, free: 15 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.007733, allocations: 35.36 kB / 0.8852 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.007865, allocations: 0.5313 MB / 0.8857 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.007889, allocations: 12 kB / 0.8857 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.201e-05/0.007931, allocations: 54.73 kB / 0.8858 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.105e-05/0.008002, allocations: 78.67 kB / 0.8858 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.008003, allocations: 0 / 0.8858 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001237/0.008127, allocations: 133.6 kB / 0.886 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.008137, allocations: 8 kB / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/0.00814, allocations: 0 / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.894e-06/0.008148, allocations: 0 / 0.886 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.008211, allocations: 23.98 kB / 0.886 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.008217, allocations: 11.94 kB / 0.886 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.753e-05/0.008255, allocations: 16.03 kB / 0.886 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.008259, allocations: 4 kB / 0.886 GB, free: 14.04 MB / 0.8542 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 7.091e-05/0.00833, allocations: 164.5 kB / 0.8862 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.008362, allocations: 39.7 kB / 0.8862 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.008394, allocations: 35.28 kB / 0.8862 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.008396, allocations: 0 / 0.8862 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.008397, allocations: 0 / 0.8862 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.008399, allocations: 4 kB / 0.8863 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.008591, allocations: 272.4 kB / 0.8865 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.008592, allocations: 0 / 0.8865 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.598e-05/0.008648, allocations: 19.94 kB / 0.8865 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.008649, allocations: 7.938 kB / 0.8865 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.008658, allocations: 8 kB / 0.8865 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.008659, allocations: 0 / 0.8865 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.00866, allocations: 3.984 kB / 0.8865 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.008838, allocations: 263.6 kB / 0.8868 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.00888, allocations: 43.69 kB / 0.8868 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.008896, allocations: 0 / 0.8868 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.502e-05/0.008941, allocations: 8 kB / 0.8868 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.47e-05/0.008975, allocations: 3.984 kB / 0.8869 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-06/0.008979, allocations: 4 kB / 0.8869 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001527/0.009132, allocations: 283.1 kB / 0.8871 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.009132, allocations: 0 / 0.8871 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001767/0.009308, allocations: 47.89 kB / 0.8872 GB, free: 12.8 MB / 0.8542 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 6.867e-05/0.009377, allocations: 95.25 kB / 0.8873 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.009484, allocations: 59.53 kB / 0.8873 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-06/0.009486, allocations: 0 / 0.8873 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.009516, allocations: 27.67 kB / 0.8873 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.009731, allocations: 25.84 kB / 0.8874 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.01057, allocations: 0.594 MB / 0.888 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.451e-05/0.01063, allocations: 103.8 kB / 0.8881 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.988e-05/0.01067, allocations: 12.64 kB / 0.8881 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.0107, allocations: 16.5 kB / 0.8881 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/0.0107, allocations: 4 kB / 0.8881 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of Templates: time 0.003648/0.01435, allocations: 1.126 MB / 0.8892 GB, free: 10.7 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.6176920351572335]