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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001088/0.001088, allocations: 98.64 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 182.3 kB / 16.92 MB, free: 6.918 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.354/1.354, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.726/2.726, allocations: 443.2 MB / 0.7181 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003475, allocations: 10.88 kB / 0.8801 GB, free: 42.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2634, allocations: 155.2 MB / 1.032 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002425/0.2659, allocations: 2.14 MB / 1.034 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007489/0.2667, allocations: 0.52 MB / 1.034 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.2668, allocations: 4 kB / 1.034 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.2671, allocations: 120.1 kB / 1.034 GB, free: 1.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.2673, allocations: 83.39 kB / 1.034 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001071/0.2674, allocations: 35.97 kB / 1.034 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.2676, allocations: 242.6 kB / 1.035 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.2678, allocations: 94.97 kB / 1.035 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.2679, allocations: 67.67 kB / 1.035 GB, free: 1.465 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.2681, allocations: 91.45 kB / 1.035 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.009e-05/0.2681, allocations: 8 kB / 1.035 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.98e-05/0.2681, allocations: 8 kB / 1.035 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.2682, allocations: 67.69 kB / 1.035 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.2684, allocations: 164.7 kB / 1.035 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.2686, allocations: 251.4 kB / 1.035 GB, free: 0.8789 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2686, allocations: 3.938 kB / 1.035 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2686, allocations: 0 / 1.035 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.2686, allocations: 0 / 1.035 GB, free: 0.875 MB / 0.7794 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.0007106/0.2693, allocations: 0.5914 MB / 1.036 GB, free: 236 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2694, allocations: 8.031 kB / 1.036 GB, free: 228 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.367e-05/0.2694, allocations: 48.38 kB / 1.036 GB, free: 180 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.2698, allocations: 298.2 kB / 1.036 GB, free: 15.84 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.2698, allocations: 16.38 kB / 1.036 GB, free: 15.83 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.486e-05/0.2699, allocations: 16.28 kB / 1.036 GB, free: 15.81 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.2701, allocations: 145.9 kB / 1.036 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2702, allocations: 192 / 1.036 GB, free: 15.66 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.2702, allocations: 11.94 kB / 1.037 GB, free: 15.65 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2702, allocations: 4 kB / 1.037 GB, free: 15.65 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002234/0.2704, allocations: 99.7 kB / 1.037 GB, free: 15.55 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000764/0.2712, allocations: 0.6011 MB / 1.037 GB, free: 14.9 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000231/0.2714, allocations: 86.62 kB / 1.037 GB, free: 14.8 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.2716, allocations: 48.81 kB / 1.037 GB, free: 14.75 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.2716, allocations: 0 / 1.037 GB, free: 14.75 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.2716, allocations: 38.56 kB / 1.037 GB, free: 14.71 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.2716, allocations: 0 / 1.037 GB, free: 14.71 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0003503/0.272, allocations: 137.2 kB / 1.037 GB, free: 14.57 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.272, allocations: 55.41 kB / 1.038 GB, free: 14.5 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.2724, allocations: 390 kB / 1.038 GB, free: 14.11 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.2724, allocations: 37.64 kB / 1.038 GB, free: 14.07 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.2726, allocations: 215.9 kB / 1.038 GB, free: 13.85 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.2726, allocations: 27.56 kB / 1.038 GB, free: 13.82 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.2726, allocations: 21.7 kB / 1.038 GB, free: 13.8 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2728, allocations: 350.7 kB / 1.039 GB, free: 13.45 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.499e-05/0.2728, allocations: 24 kB / 1.039 GB, free: 13.42 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.078e-05/0.2729, allocations: 59.41 kB / 1.039 GB, free: 13.35 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.2731, allocations: 91.67 kB / 1.039 GB, free: 13.25 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2731, allocations: 0 / 1.039 GB, free: 13.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002339/0.2734, allocations: 149.1 kB / 1.039 GB, free: 13.1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2734, allocations: 8 kB / 1.039 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2734, allocations: 0 / 1.039 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2734, allocations: 0 / 1.039 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.2735, allocations: 31.92 kB / 1.039 GB, free: 13.06 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2736, allocations: 4 kB / 1.039 GB, free: 13.05 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-05/0.2737, allocations: 7.938 kB / 1.039 GB, free: 13.05 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.2737, allocations: 8.094 kB / 1.039 GB, free: 13.04 MB / 0.795 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.0001331/0.2738, allocations: 165.7 kB / 1.039 GB, free: 12.87 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.2739, allocations: 35.53 kB / 1.039 GB, free: 12.83 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.466e-05/0.2739, allocations: 39.22 kB / 1.039 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2739, allocations: 0 / 1.039 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.274, allocations: 0 / 1.039 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/0.274, allocations: 0 / 1.039 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.2743, allocations: 309.4 kB / 1.039 GB, free: 12.44 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.2743, allocations: 0 / 1.039 GB, free: 12.44 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.2744, allocations: 27.98 kB / 1.039 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2744, allocations: 0 / 1.039 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.2744, allocations: 4 kB / 1.039 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2744, allocations: 0 / 1.039 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2744, allocations: 0 / 1.039 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.2748, allocations: 263 kB / 1.04 GB, free: 12.14 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/0.2749, allocations: 108.8 kB / 1.04 GB, free: 12.01 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.2749, allocations: 0 / 1.04 GB, free: 12.01 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.275, allocations: 11.97 kB / 1.04 GB, free: 12 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.2751, allocations: 11.98 kB / 1.04 GB, free: 11.99 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.2751, allocations: 0 / 1.04 GB, free: 11.99 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002565/0.2753, allocations: 283.1 kB / 1.04 GB, free: 11.71 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2753, allocations: 0 / 1.04 GB, free: 11.71 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002734/0.2756, allocations: 47.78 kB / 1.04 GB, free: 11.67 MB / 0.795 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.0001112/0.2757, allocations: 103.2 kB / 1.04 GB, free: 11.55 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.276, allocations: 75.91 kB / 1.04 GB, free: 11.48 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.276, allocations: 0 / 1.04 GB, free: 11.48 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.027e-05/0.276, allocations: 35.92 kB / 1.04 GB, free: 11.45 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.2764, allocations: 25.41 kB / 1.04 GB, free: 11.43 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.2776, allocations: 0.8467 MB / 1.041 GB, free: 10.55 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.2779, allocations: 0.8023 MB / 1.042 GB, free: 9.719 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.278, allocations: 15.44 kB / 1.042 GB, free: 9.703 MB / 0.795 GB Notification: Performance of SimCode: time 3.4e-07/0.278, allocations: 0 / 1.042 GB, free: 9.703 MB / 0.795 GB Notification: Performance of Templates: time 0.004708/0.2827, allocations: 3.006 MB / 1.045 GB, free: 6.723 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches