Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.AssertPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_latest_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.005529/0.005529, allocations: 99.77 kB / 15.73 MB, free: 6.02 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.001346/0.001346, allocations: 193.8 kB / 16.67 MB, free: 5.934 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.298/1.298, 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 12.0.0-master/package.mo): time 2.488/2.488, allocations: 482.6 MB / 0.755 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001699/0.001699, allocations: 64.69 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2573, allocations: 162.3 MB / 1.242 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.00339/0.2607, allocations: 2.436 MB / 1.244 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.2627, allocations: 1.517 MB / 1.246 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.2628, allocations: 7.938 kB / 1.246 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005366/0.2634, allocations: 223.1 kB / 1.246 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.2637, allocations: 154.3 kB / 1.246 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.2641, allocations: 187.5 kB / 1.246 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.2644, allocations: 346.9 kB / 1.247 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.2646, allocations: 92.69 kB / 1.247 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.2648, allocations: 139.3 kB / 1.247 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.265, allocations: 155.2 kB / 1.247 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.683e-05/0.265, allocations: 24 kB / 1.247 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.2652, allocations: 71.95 kB / 1.247 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.2653, allocations: 119.6 kB / 1.247 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.2654, allocations: 194.5 kB / 1.247 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005148/0.266, allocations: 0.5054 MB / 1.248 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.266, allocations: 0 / 1.248 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.172e-06/0.266, allocations: 0 / 1.248 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.266, allocations: 0 / 1.248 GB, free: 2.754 MB / 0.9669 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.001055/0.2671, allocations: 0.8276 MB / 1.249 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.2671, allocations: 12.03 kB / 1.249 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.2671, allocations: 42.73 kB / 1.249 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.029e-05/0.2672, allocations: 64.52 kB / 1.249 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/0.2677, allocations: 432.4 kB / 1.249 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.2677, allocations: 12.12 kB / 1.249 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.2678, allocations: 12 kB / 1.249 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.268, allocations: 138.8 kB / 1.249 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.268, allocations: 0 / 1.249 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2681, allocations: 4 kB / 1.249 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2681, allocations: 0 / 1.249 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.2683, allocations: 91.89 kB / 1.249 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.2692, allocations: 0.6407 MB / 1.25 GB, free: 344 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000337/0.2695, allocations: 134.7 kB / 1.25 GB, free: 200 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.726e-05/0.2696, allocations: 40.84 kB / 1.25 GB, free: 156 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.2696, allocations: 4 kB / 1.25 GB, free: 152 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.2698, allocations: 107.3 kB / 1.25 GB, free: 32 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.2698, allocations: 0 / 1.25 GB, free: 32 kB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.0004144/0.2703, allocations: 209.3 kB / 1.251 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.2703, allocations: 63.34 kB / 1.251 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006753/0.271, allocations: 0.6475 MB / 1.251 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.271, allocations: 33.7 kB / 1.251 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.2712, allocations: 256.5 kB / 1.252 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.2713, allocations: 39.67 kB / 1.252 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-05/0.2714, allocations: 57.7 kB / 1.252 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.2715, allocations: 370.7 kB / 1.252 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.2717, allocations: 79.97 kB / 1.252 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.2718, allocations: 115.4 kB / 1.252 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.2721, allocations: 123.6 kB / 1.252 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2721, allocations: 4.031 kB / 1.252 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000392/0.2725, allocations: 278.9 kB / 1.253 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.2725, allocations: 8 kB / 1.253 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2725, allocations: 3.984 kB / 1.253 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.2725, allocations: 0 / 1.253 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.2727, allocations: 35.92 kB / 1.253 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.2727, allocations: 7.938 kB / 1.253 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.2728, allocations: 31.86 kB / 1.253 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.2729, allocations: 8.031 kB / 1.253 GB, free: 13.62 MB / 0.9825 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.0002001/0.2731, allocations: 218.2 kB / 1.253 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.2731, allocations: 55.66 kB / 1.253 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.047e-05/0.2732, allocations: 52.66 kB / 1.253 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2732, allocations: 4 kB / 1.253 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.2732, allocations: 0 / 1.253 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.2733, allocations: 4 kB / 1.253 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.2736, allocations: 381.3 kB / 1.253 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2736, allocations: 0 / 1.253 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.087e-05/0.2737, allocations: 12 kB / 1.253 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.2737, allocations: 0 / 1.253 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.2737, allocations: 7.984 kB / 1.253 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2737, allocations: 0 / 1.253 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2737, allocations: 4 kB / 1.253 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004068/0.2741, allocations: 260.5 kB / 1.254 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.2742, allocations: 128.8 kB / 1.254 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.2743, allocations: 8.062 kB / 1.254 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.2744, allocations: 11.98 kB / 1.254 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.2745, allocations: 23.97 kB / 1.254 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.2745, allocations: 4 kB / 1.254 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004468/0.2749, allocations: 430.8 kB / 1.254 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2749, allocations: 0 / 1.254 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002515/0.2752, allocations: 63.88 kB / 1.254 GB, free: 11.89 MB / 0.9825 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.00192/0.2771, allocations: 1.136 MB / 1.255 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002994/0.2774, allocations: 151.9 kB / 1.255 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2774, allocations: 4 kB / 1.255 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.2775, allocations: 47.98 kB / 1.256 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.2779, allocations: 80.28 kB / 1.256 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004148/0.2821, allocations: 3.796 MB / 1.259 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.2825, allocations: 0.8611 MB / 1.26 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.2827, allocations: 38.27 kB / 1.26 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.2829, allocations: 159.4 kB / 1.26 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.2829, allocations: 0 / 1.26 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.121/3.404, allocations: 9.213 MB / 1.269 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.4/18.8, allocations: 7.547 kB / 1.269 GB, free: 12.57 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches