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.006607/0.006607, allocations: 100.5 kB / 15.73 MB, free: 6.008 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.001797/0.001797, allocations: 197.8 kB / 16.67 MB, free: 5.926 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.242/2.242, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 68.11 kB / 1.018 GB, free: 9.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6047/0.6064, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003418/0.6099, allocations: 2.427 MB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002016/0.6119, allocations: 1.518 MB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.612, allocations: 4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005414/0.6126, allocations: 230.9 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.6129, allocations: 155.2 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.6133, allocations: 180.3 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.6136, allocations: 350.9 kB / 1.171 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.6138, allocations: 100.5 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.614, allocations: 139.3 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.6142, allocations: 155.2 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.6142, allocations: 20 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.6143, allocations: 63.97 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.6145, allocations: 123.6 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.6146, allocations: 194.5 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005657/0.6152, allocations: 0.5014 MB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6152, allocations: 0 / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6152, allocations: 4 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.6153, allocations: 4 kB / 1.172 GB, free: 13.6 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.00153/0.6168, allocations: 0.8159 MB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.6168, allocations: 8.922 kB / 1.173 GB, free: 12.72 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.652e-05/0.6169, allocations: 46.73 kB / 1.173 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.6171, allocations: 64.52 kB / 1.173 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007472/0.6178, allocations: 428.5 kB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.6179, allocations: 20.06 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.6179, allocations: 15.98 kB / 1.174 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003838/0.6183, allocations: 137.6 kB / 1.174 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.6183, allocations: 0 / 1.174 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.6184, allocations: 4 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.6184, allocations: 4 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002814/0.6187, allocations: 87.89 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.62, allocations: 0.6368 MB / 1.174 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.6203, allocations: 138.6 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.31e-05/0.6204, allocations: 52.81 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.814e-05/0.6205, allocations: 0 / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/0.6206, allocations: 103.4 kB / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.6207, allocations: 0 / 1.175 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.0004079/0.6211, allocations: 217.1 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.6211, allocations: 55.41 kB / 1.175 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006778/0.6218, allocations: 0.6514 MB / 1.176 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.6218, allocations: 33.7 kB / 1.176 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.622, allocations: 248.5 kB / 1.176 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.6221, allocations: 47.67 kB / 1.176 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.232e-05/0.6222, allocations: 53.69 kB / 1.176 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.6223, allocations: 370.7 kB / 1.176 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.6225, allocations: 79.95 kB / 1.176 GB, free: 9.086 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.6227, allocations: 117.6 kB / 1.176 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.6229, allocations: 132.1 kB / 1.177 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6229, allocations: 0 / 1.177 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003981/0.6233, allocations: 269.1 kB / 1.177 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.6233, allocations: 4 kB / 1.177 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.6233, allocations: 0 / 1.177 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.6233, allocations: 8.062 kB / 1.177 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.6235, allocations: 43.91 kB / 1.177 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.6235, allocations: 3.984 kB / 1.177 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.6237, allocations: 23.88 kB / 1.177 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.6237, allocations: 15.98 kB / 1.177 GB, free: 8.461 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.0001917/0.6239, allocations: 201.7 kB / 1.177 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.68e-05/0.624, allocations: 51.67 kB / 1.177 GB, free: 8.203 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.518e-05/0.624, allocations: 64.66 kB / 1.177 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.6241, allocations: 0 / 1.177 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6241, allocations: 0 / 1.177 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6241, allocations: 7.984 kB / 1.177 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.6244, allocations: 369.3 kB / 1.178 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6244, allocations: 7.938 kB / 1.178 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.434e-05/0.6245, allocations: 12 kB / 1.178 GB, free: 7.703 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6245, allocations: 3.938 kB / 1.178 GB, free: 7.699 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.6245, allocations: 4 kB / 1.178 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6245, allocations: 0 / 1.178 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6245, allocations: 4 kB / 1.178 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/0.6249, allocations: 266.1 kB / 1.178 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.443e-05/0.625, allocations: 128.7 kB / 1.178 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.6251, allocations: 8 kB / 1.178 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.6252, allocations: 15.97 kB / 1.178 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.6253, allocations: 19.97 kB / 1.178 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.6253, allocations: 8 kB / 1.178 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004425/0.6257, allocations: 434.8 kB / 1.178 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.753e-06/0.6258, allocations: 0 / 1.178 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002585/0.626, allocations: 67.81 kB / 1.179 GB, free: 6.73 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.001947/0.628, allocations: 1.131 MB / 1.18 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003013/0.6283, allocations: 154.3 kB / 1.18 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6283, allocations: 0 / 1.18 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.6284, allocations: 55.92 kB / 1.18 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.6288, allocations: 71.62 kB / 1.18 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.6329, allocations: 3.804 MB / 1.184 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.6334, allocations: 0.8572 MB / 1.184 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.6335, allocations: 38.28 kB / 1.185 GB, free: 0.6328 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.6337, allocations: 167.4 kB / 1.185 GB, free: 480 kB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.6337, allocations: 0 / 1.185 GB, free: 480 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.427/7.061, allocations: 9.232 MB / 1.194 GB, free: 7.367 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.39/24.45, allocations: 6.469 kB / 1.194 GB, free: 7.363 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=400 --tolerance=1e-06 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.mat","/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