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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001055/0.001056, allocations: 97.78 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.001586/0.001586, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.404/1.404, 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 9.1.2-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 390.9 MB / 0.667 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003775, allocations: 8 kB / 0.8166 GB, free: 13.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7426/0.743, allocations: 142.4 MB / 0.9557 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002332/0.7454, allocations: 2.132 MB / 0.9578 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007499/0.7462, allocations: 0.5185 MB / 0.9583 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.693e-05/0.7463, allocations: 2.281 kB / 0.9583 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.7466, allocations: 116.5 kB / 0.9584 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.7468, allocations: 78.2 kB / 0.9585 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.7469, allocations: 33.67 kB / 0.9585 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002282/0.7471, allocations: 240.5 kB / 0.9588 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.7473, allocations: 94.45 kB / 0.9588 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.7475, allocations: 77.69 kB / 0.9589 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.7476, allocations: 89.72 kB / 0.959 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.971e-05/0.7476, allocations: 7.781 kB / 0.959 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.388e-05/0.7477, allocations: 7.625 kB / 0.959 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.121e-05/0.7478, allocations: 69 kB / 0.9591 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.7479, allocations: 162.5 kB / 0.9592 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.7481, allocations: 255.4 kB / 0.9595 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7481, allocations: 1.531 kB / 0.9595 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7481, allocations: 3.938 kB / 0.9595 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.7481, allocations: 0 / 0.9595 GB, free: 4.797 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.0006355/0.7488, allocations: 0.5944 MB / 0.9601 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7488, allocations: 9.625 kB / 0.9601 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.389e-05/0.7489, allocations: 49 kB / 0.9601 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.7492, allocations: 303.4 kB / 0.9604 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.7492, allocations: 13.86 kB / 0.9604 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.7492, allocations: 14 kB / 0.9604 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.7495, allocations: 142.2 kB / 0.9606 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.7495, allocations: 192 / 0.9606 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.7495, allocations: 9.312 kB / 0.9606 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.7496, allocations: 4.125 kB / 0.9606 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.7498, allocations: 92.7 kB / 0.9607 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.7504, allocations: 0.5844 MB / 0.9612 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.7507, allocations: 95.8 kB / 0.9613 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.273e-05/0.7508, allocations: 47.45 kB / 0.9614 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.7508, allocations: 0 / 0.9614 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.7508, allocations: 43.84 kB / 0.9614 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.7508, allocations: 0 / 0.9614 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003484/0.7512, allocations: 143.2 kB / 0.9616 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.7512, allocations: 56.44 kB / 0.9616 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.7516, allocations: 389.6 kB / 0.962 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.7516, allocations: 29.7 kB / 0.962 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.7517, allocations: 219.5 kB / 0.9622 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.7518, allocations: 30.42 kB / 0.9623 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.7518, allocations: 16.69 kB / 0.9623 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.258e-05/0.7519, allocations: 353.1 kB / 0.9626 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.7519, allocations: 25.36 kB / 0.9626 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.453e-05/0.752, allocations: 61.98 kB / 0.9627 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.7522, allocations: 85.2 kB / 0.9628 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7522, allocations: 0 / 0.9628 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002394/0.7525, allocations: 147.8 kB / 0.9629 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.7525, allocations: 8.344 kB / 0.9629 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.7525, allocations: 6.016 kB / 0.9629 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.7525, allocations: 1 kB / 0.9629 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.7526, allocations: 24.5 kB / 0.9629 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.7526, allocations: 9.047 kB / 0.963 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.453e-05/0.7527, allocations: 9.25 kB / 0.963 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.7528, allocations: 7.25 kB / 0.963 GB, free: 1.859 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.0001202/0.7529, allocations: 168.2 kB / 0.9631 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.7529, allocations: 34.97 kB / 0.9632 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.967e-05/0.753, allocations: 41.45 kB / 0.9632 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.753, allocations: 5.328 kB / 0.9632 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.753, allocations: 1.281 kB / 0.9632 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.753, allocations: 0 / 0.9632 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.7533, allocations: 312.9 kB / 0.9635 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.7533, allocations: 0 / 0.9635 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.7534, allocations: 28.2 kB / 0.9635 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.7534, allocations: 0 / 0.9635 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.7535, allocations: 0.9062 kB / 0.9635 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7535, allocations: 0.9062 kB / 0.9635 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7535, allocations: 0 / 0.9635 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.7538, allocations: 259.2 kB / 0.9638 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-05/0.7539, allocations: 105.1 kB / 0.9639 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.7539, allocations: 9.422 kB / 0.9639 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.831e-05/0.754, allocations: 2.125 kB / 0.9639 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.754, allocations: 7.125 kB / 0.9639 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.7541, allocations: 9.672 kB / 0.9639 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002704/0.7543, allocations: 273.8 kB / 0.9642 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7543, allocations: 0 / 0.9642 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002996/0.7546, allocations: 50.94 kB / 0.9642 GB, free: 0.8398 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.000116/0.7548, allocations: 102 kB / 0.9643 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.755, allocations: 74.73 kB / 0.9644 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.755, allocations: 192 / 0.9644 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.731e-05/0.7551, allocations: 40.17 kB / 0.9644 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003916/0.7555, allocations: 25.77 kB / 0.9645 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.7566, allocations: 0.8439 MB / 0.9653 GB, free: 56 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.757, allocations: 0.8006 MB / 0.9661 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.757, allocations: 14.94 kB / 0.9661 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/0.757, allocations: 0 / 0.9661 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.005437/0.7625, allocations: 3.005 MB / 0.969 GB, free: 13.68 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/jenkins1/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