Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",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.0081/0.0081, allocations: 100.1 kB / 15.73 MB, free: 6.062 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.002163/0.002163, allocations: 188.8 kB / 16.67 MB, free: 5.973 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.605/1.605, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.525/2.525, allocations: 437 MB / 0.7105 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 63.91 kB / 1.018 GB, free: 9.902 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6982, allocations: 151.6 MB / 1.166 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003975/0.7023, allocations: 2.439 MB / 1.169 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002305/0.7046, allocations: 1.506 MB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.7047, allocations: 7.938 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006351/0.7054, allocations: 226.9 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.7058, allocations: 151.2 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.7062, allocations: 185 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.7066, allocations: 350.9 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.7068, allocations: 100.5 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.707, allocations: 135.3 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.7072, allocations: 155.2 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.697e-05/0.7072, allocations: 28 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.7074, allocations: 55.98 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.7075, allocations: 127.5 kB / 1.171 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.7077, allocations: 190.6 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005903/0.7083, allocations: 0.5091 MB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.7083, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7083, allocations: 0 / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.7083, allocations: 3.984 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001256/0.7096, allocations: 0.816 MB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.7096, allocations: 12.92 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.136e-05/0.7097, allocations: 42.75 kB / 1.173 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.7098, allocations: 68.5 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008013/0.7106, allocations: 424.4 kB / 1.173 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.7107, allocations: 16.12 kB / 1.173 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.7107, allocations: 16 kB / 1.174 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.711, allocations: 137.6 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.711, allocations: 0 / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.711, allocations: 4 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.7111, allocations: 7.984 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.7113, allocations: 87.89 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.7123, allocations: 0.6368 MB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.7127, allocations: 134.7 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.834e-05/0.7128, allocations: 44.84 kB / 1.175 GB, free: 11.15 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.7129, allocations: 7.984 kB / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.7131, allocations: 103.4 kB / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.7131, allocations: 0 / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.0004527/0.7136, allocations: 221.1 kB / 1.175 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.7136, allocations: 55.41 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007463/0.7144, allocations: 0.6475 MB / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.7144, allocations: 33.7 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.7146, allocations: 252.5 kB / 1.176 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.7147, allocations: 47.67 kB / 1.176 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.549e-05/0.7148, allocations: 53.69 kB / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000241/0.715, allocations: 370.7 kB / 1.176 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.7153, allocations: 75.97 kB / 1.176 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.7155, allocations: 117.6 kB / 1.176 GB, free: 9.117 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.7157, allocations: 133.6 kB / 1.177 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7157, allocations: 3.938 kB / 1.177 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004297/0.7162, allocations: 267.8 kB / 1.177 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.7162, allocations: 4 kB / 1.177 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.7162, allocations: 4 kB / 1.177 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.7162, allocations: 3.938 kB / 1.177 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.7164, allocations: 43.91 kB / 1.177 GB, free: 8.656 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.7164, allocations: 4 kB / 1.177 GB, free: 8.652 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.7166, allocations: 27.91 kB / 1.177 GB, free: 8.625 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.7166, allocations: 8 kB / 1.177 GB, free: 8.617 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002213/0.7168, allocations: 209.7 kB / 1.177 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.7169, allocations: 51.67 kB / 1.177 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.717, allocations: 60.64 kB / 1.177 GB, free: 8.293 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.717, allocations: 4 kB / 1.177 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.717, allocations: 4 kB / 1.177 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.7171, allocations: 3.984 kB / 1.177 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.7174, allocations: 369.3 kB / 1.178 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7174, allocations: 4 kB / 1.178 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.17e-05/0.7175, allocations: 15.98 kB / 1.178 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7175, allocations: 0 / 1.178 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.7176, allocations: 0 / 1.178 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7176, allocations: 0 / 1.178 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7176, allocations: 0 / 1.178 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.718, allocations: 276.9 kB / 1.178 GB, free: 7.562 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.7182, allocations: 128.7 kB / 1.178 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.7182, allocations: 4 kB / 1.178 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.7184, allocations: 11.98 kB / 1.178 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.477e-05/0.7184, allocations: 27.97 kB / 1.178 GB, free: 7.375 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.7185, allocations: 4 kB / 1.178 GB, free: 7.371 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004896/0.7189, allocations: 426.8 kB / 1.178 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.719, allocations: 0 / 1.178 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002932/0.7193, allocations: 63.89 kB / 1.179 GB, free: 6.895 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00215/0.7214, allocations: 1.136 MB / 1.18 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003453/0.7218, allocations: 147.9 kB / 1.18 GB, free: 5.746 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7218, allocations: 4 kB / 1.18 GB, free: 5.742 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.7219, allocations: 63.91 kB / 1.18 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.7224, allocations: 88.05 kB / 1.18 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/0.7271, allocations: 3.8 MB / 1.184 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004788/0.7276, allocations: 0.8572 MB / 1.184 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001216/0.7277, allocations: 34.28 kB / 1.184 GB, free: 0.7852 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002257/0.7279, allocations: 159.4 kB / 1.185 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/0.7279, allocations: 4 kB / 1.185 GB, free: 0.6211 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.7616, allocations: 9.219 MB / 1.194 GB, free: 7.523 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.769/9.531, allocations: 6.984 kB / 1.194 GB, free: 7.52 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.csv --start-time 0 --stop-time 1800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches