Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_9_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.001239/0.001239, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001286/0.001286, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.345/1.345, allocations: 222.9 MB / 239.9 MB, free: 4.449 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.171/2.171, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 59.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5205/0.5226, allocations: 140.4 MB / 0.9492 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002741/0.5254, allocations: 2.465 MB / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.5269, allocations: 1.486 MB / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.527, allocations: 7.656 kB / 0.9531 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004852/0.5275, allocations: 216.4 kB / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.5278, allocations: 137.6 kB / 0.9534 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.5281, allocations: 169.8 kB / 0.9536 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.5284, allocations: 352.3 kB / 0.9539 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.5285, allocations: 91.09 kB / 0.954 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.5287, allocations: 140.6 kB / 0.9542 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.5288, allocations: 164.5 kB / 0.9543 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.5288, allocations: 21.31 kB / 0.9543 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.529, allocations: 64.66 kB / 0.9544 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.983e-05/0.5291, allocations: 129.5 kB / 0.9545 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.5292, allocations: 188.6 kB / 0.9547 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.5295, allocations: 0.4936 MB / 0.9552 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5295, allocations: 0 / 0.9552 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5295, allocations: 7.875 kB / 0.9552 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.5295, allocations: 0 / 0.9552 GB, free: 4.629 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008037/0.5303, allocations: 0.8007 MB / 0.956 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.5304, allocations: 10.94 kB / 0.956 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.5304, allocations: 46.48 kB / 0.956 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.5305, allocations: 60.69 kB / 0.9561 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.5308, allocations: 413.5 kB / 0.9565 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.5308, allocations: 23.56 kB / 0.9565 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.5309, allocations: 12.84 kB / 0.9565 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.5311, allocations: 131.2 kB / 0.9566 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.5311, allocations: 1.062 kB / 0.9566 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.5311, allocations: 5.656 kB / 0.9566 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5311, allocations: 2.594 kB / 0.9566 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.5313, allocations: 90.48 kB / 0.9567 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000737/0.532, allocations: 0.6418 MB / 0.9574 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.5324, allocations: 132.5 kB / 0.9575 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.965e-05/0.5324, allocations: 53.66 kB / 0.9575 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.5325, allocations: 1.469 kB / 0.9575 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.5326, allocations: 105.3 kB / 0.9576 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.5326, allocations: 0 / 0.9576 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0003449/0.533, allocations: 209.4 kB / 0.9578 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.9e-05/0.533, allocations: 61.5 kB / 0.9579 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005251/0.5336, allocations: 0.6456 MB / 0.9585 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.5336, allocations: 31.86 kB / 0.9586 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.5337, allocations: 263.5 kB / 0.9588 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.5337, allocations: 33.03 kB / 0.9588 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.5338, allocations: 55.5 kB / 0.9589 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.441e-05/0.5339, allocations: 370 kB / 0.9592 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.534, allocations: 83.39 kB / 0.9593 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.5342, allocations: 120.4 kB / 0.9594 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.5343, allocations: 123.8 kB / 0.9596 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5343, allocations: 0 / 0.9596 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003421/0.5347, allocations: 270.6 kB / 0.9598 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.5347, allocations: 7.469 kB / 0.9598 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.5347, allocations: 4.062 kB / 0.9598 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.5347, allocations: 6.266 kB / 0.9598 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.5349, allocations: 41.11 kB / 0.9599 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.5349, allocations: 1.375 kB / 0.9599 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.5351, allocations: 19.89 kB / 0.9599 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.5351, allocations: 13.3 kB / 0.9599 GB, free: 1 MB / 0.7169 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.0001508/0.5353, allocations: 203.1 kB / 0.9601 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.5353, allocations: 59.25 kB / 0.9602 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.943e-05/0.5354, allocations: 64.59 kB / 0.9602 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.5354, allocations: 1.094 kB / 0.9602 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5354, allocations: 3.984 kB / 0.9602 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5354, allocations: 0.875 kB / 0.9602 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.5357, allocations: 372 kB / 0.9606 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5357, allocations: 0 / 0.9606 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.274e-05/0.5358, allocations: 8.219 kB / 0.9606 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5358, allocations: 1.062 kB / 0.9606 GB, free: 440 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.5358, allocations: 5.031 kB / 0.9606 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5358, allocations: 5.156 kB / 0.9606 GB, free: 432 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5358, allocations: 4 kB / 0.9606 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.5361, allocations: 257.6 kB / 0.9608 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.5362, allocations: 136.2 kB / 0.961 GB, free: 116 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.5363, allocations: 6.438 kB / 0.961 GB, free: 112 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.5364, allocations: 11.83 kB / 0.961 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.5364, allocations: 25.78 kB / 0.961 GB, free: 92 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.5365, allocations: 7.781 kB / 0.961 GB, free: 88 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004063/0.5369, allocations: 428.6 kB / 0.9614 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5369, allocations: 0 / 0.9614 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002634/0.5371, allocations: 63.36 kB / 0.9615 GB, free: 15.83 MB / 0.7325 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.001373/0.5385, allocations: 1.125 MB / 0.9626 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002859/0.5388, allocations: 158.7 kB / 0.9627 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5388, allocations: 0 / 0.9627 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.5389, allocations: 56.08 kB / 0.9628 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.5393, allocations: 73.05 kB / 0.9629 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.5435, allocations: 3.998 MB / 0.9668 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.5439, allocations: 0.8503 MB / 0.9676 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000109/0.544, allocations: 42.61 kB / 0.9676 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.5442, allocations: 160.8 kB / 0.9678 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.5442, allocations: 0 / 0.9678 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.463/3.007, allocations: 8.859 MB / 0.9764 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/3.008, allocations: 243 kB / 0.9767 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/6.124, allocations: 0 / 0.9767 GB, free: 5.77 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches