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.01137/0.01137, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.002104/0.002104, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.388/2.388, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.97 kB / 0.9508 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.316, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004659/0.3207, allocations: 2.444 MB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008991/0.3216, allocations: 0.547 MB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.163e-05/0.3217, allocations: 4 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003915/0.3221, allocations: 128.3 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.3223, allocations: 95.27 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001227/0.3225, allocations: 39.95 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00027/0.3227, allocations: 246.7 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.323, allocations: 107.1 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.3231, allocations: 87.72 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.3233, allocations: 95.44 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.826e-05/0.3233, allocations: 20 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.155e-05/0.3234, allocations: 20 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.332e-05/0.3235, allocations: 83.69 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.3236, allocations: 151 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.324, allocations: 342.7 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.324, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.164e-06/0.324, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.324, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 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.0009025/0.3249, allocations: 0.6492 MB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.325, allocations: 8.031 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.325, allocations: 44.38 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.3254, allocations: 310.1 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.3255, allocations: 12.38 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.3255, allocations: 12.38 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.3258, allocations: 145.9 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3258, allocations: 192 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.3258, allocations: 11.94 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.3259, allocations: 4 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.3261, allocations: 95.7 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007962/0.3269, allocations: 0.5858 MB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.3271, allocations: 82.55 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.3273, allocations: 52.89 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.3273, allocations: 0 / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.3273, allocations: 38.5 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.3273, allocations: 4 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0003516/0.3277, allocations: 153.1 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.3277, allocations: 51.41 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003796/0.3281, allocations: 386 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.3281, allocations: 25.7 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.3283, allocations: 220 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.3283, allocations: 31.55 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.3284, allocations: 29.62 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3285, allocations: 350.7 kB / 1.095 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.3286, allocations: 31.98 kB / 1.095 GB, free: 9.562 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.073e-05/0.3287, allocations: 47.42 kB / 1.095 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.3289, allocations: 95.3 kB / 1.096 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.3289, allocations: 4 kB / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002308/0.3291, allocations: 137.2 kB / 1.096 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3291, allocations: 6.031 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3292, allocations: 8 kB / 1.096 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3292, allocations: 3.984 kB / 1.096 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.3293, allocations: 23.94 kB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3293, allocations: 4.094 kB / 1.096 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.124e-05/0.3294, allocations: 19.83 kB / 1.096 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.3294, allocations: 4 kB / 1.096 GB, free: 9.188 MB / 0.8575 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.0001537/0.3296, allocations: 165.8 kB / 1.096 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.3296, allocations: 32.09 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.595e-05/0.3297, allocations: 39.2 kB / 1.096 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.3297, allocations: 4 kB / 1.096 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3297, allocations: 3.938 kB / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3297, allocations: 0 / 1.096 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00033/0.3301, allocations: 321.3 kB / 1.096 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.3301, allocations: 0 / 1.096 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.3302, allocations: 16 kB / 1.096 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3302, allocations: 3.984 kB / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3303, allocations: 4 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3303, allocations: 0 / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3303, allocations: 0 / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.3306, allocations: 255 kB / 1.097 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.793e-05/0.3307, allocations: 116.6 kB / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.3308, allocations: 4 kB / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.866e-05/0.3309, allocations: 0 / 1.097 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.3309, allocations: 7.984 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-06/0.3309, allocations: 4 kB / 1.097 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002739/0.3312, allocations: 279.1 kB / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3312, allocations: 0 / 1.097 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002802/0.3315, allocations: 51.78 kB / 1.097 GB, free: 7.809 MB / 0.8575 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.0001304/0.3316, allocations: 103.8 kB / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.3319, allocations: 75.91 kB / 1.097 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3319, allocations: 0 / 1.097 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.95e-05/0.332, allocations: 35.92 kB / 1.097 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.3324, allocations: 26.02 kB / 1.097 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.3335, allocations: 0.6531 MB / 1.098 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.3339, allocations: 0.7981 MB / 1.099 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.417e-05/0.334, allocations: 16.64 kB / 1.099 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.334, allocations: 11.44 kB / 1.099 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of SimCode: time 3.2e-07/0.334, allocations: 0 / 1.099 GB, free: 6.031 MB / 0.8575 GB Notification: Performance of Templates: time 0.004758/0.3388, allocations: 1.307 MB / 1.1 GB, free: 4.738 MB / 0.8575 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