Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009139/0.0009139, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005908/0.005908, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.224/1.224, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.366/2.366, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002849/0.000285, allocations: 13.61 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2363, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.002638/0.239, allocations: 2.411 MB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.2404, allocations: 1.061 MB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.2405, allocations: 4 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004687/0.241, allocations: 207.1 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.2411, allocations: 63.56 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.2414, allocations: 147.8 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000322/0.2418, allocations: 379.8 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.242, allocations: 197.8 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.2422, allocations: 111.3 kB / 1.063 GB, free: 268 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.2423, allocations: 147.1 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.2423, allocations: 12 kB / 1.063 GB, free: 108 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002614/0.2426, allocations: 143.9 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.2428, allocations: 223.2 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002166/0.243, allocations: 335.3 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006942/0.2437, allocations: 0.8985 MB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2437, allocations: 0 / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2437, allocations: 0 / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.2437, allocations: 0 / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001129/0.2449, allocations: 0.9964 MB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2449, allocations: 11.97 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.328e-05/0.245, allocations: 70.72 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.2463, allocations: 271.4 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.2475, allocations: 0.7385 MB / 1.067 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.2476, allocations: 25.03 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.2476, allocations: 32.38 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007713/0.2484, allocations: 390.3 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.2484, allocations: 4 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.2484, allocations: 8 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.2485, allocations: 8 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009921/0.2494, allocations: 430.4 kB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003332/0.2528, allocations: 2.15 MB / 1.07 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/0.2534, allocations: 214.6 kB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.2537, allocations: 96.81 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.2538, allocations: 4 kB / 1.07 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.2538, allocations: 50.44 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.2538, allocations: 0 / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.001018/0.2548, allocations: 365.6 kB / 1.071 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.2549, allocations: 59.36 kB / 1.071 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.2562, allocations: 1.251 MB / 1.072 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.2562, allocations: 25.7 kB / 1.072 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.2566, allocations: 428.2 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.2566, allocations: 71.3 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.2567, allocations: 29.7 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.2568, allocations: 310 kB / 1.073 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.2571, allocations: 147.9 kB / 1.073 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.2575, allocations: 206.4 kB / 1.073 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/0.2581, allocations: 277 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2581, allocations: 0 / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008595/0.259, allocations: 467.2 kB / 1.074 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.259, allocations: 8 kB / 1.074 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.259, allocations: 7.938 kB / 1.074 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.819e-06/0.2591, allocations: 0 / 1.074 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.2594, allocations: 63.89 kB / 1.074 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.2594, allocations: 0 / 1.074 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.2597, allocations: 39.7 kB / 1.074 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.2597, allocations: 15.98 kB / 1.074 GB, free: 4.973 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.000273/0.26, allocations: 269.7 kB / 1.074 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.417e-05/0.2601, allocations: 86.81 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008113/0.2609, allocations: 323.5 kB / 1.075 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2609, allocations: 4 kB / 1.075 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2609, allocations: 3.938 kB / 1.075 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.2609, allocations: 4 kB / 1.075 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.2624, allocations: 1.006 MB / 1.076 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.2625, allocations: 4 kB / 1.076 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.2627, allocations: 47.91 kB / 1.076 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2627, allocations: 0 / 1.076 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.2627, allocations: 4 kB / 1.076 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.2628, allocations: 12.14 kB / 1.076 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2628, allocations: 4 kB / 1.076 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000738/0.2635, allocations: 427.7 kB / 1.076 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.2637, allocations: 215.9 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.2638, allocations: 4 kB / 1.076 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.2641, allocations: 15.98 kB / 1.076 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.746e-05/0.2641, allocations: 23.91 kB / 1.076 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.2641, allocations: 4 kB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009668/0.2651, allocations: 0.9028 MB / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.533e-06/0.2651, allocations: 4 kB / 1.077 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003808/0.2655, allocations: 111.7 kB / 1.077 GB, free: 1.375 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001051/0.2666, allocations: 0.9831 MB / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006763/0.2673, allocations: 277.6 kB / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2673, allocations: 0 / 1.078 GB, free: 80 kB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.2676, allocations: 104.5 kB / 1.079 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.2682, allocations: 75.44 kB / 1.079 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.2786, allocations: 7.827 MB / 1.086 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/0.2792, allocations: 0.9995 MB / 1.087 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003289/0.2795, allocations: 100.7 kB / 1.087 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003395/0.2799, allocations: 291.3 kB / 1.088 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.2799, allocations: 0 / 1.088 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.228/1.508, allocations: 13.08 MB / 1.1 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/1.509, allocations: 234.2 kB / 1.101 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.213/3.722, allocations: 0 / 1.101 GB, free: 9.281 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches