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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008398/0.0008396, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005841/0.005841, allocations: 171.2 kB / 16.27 MB, free: 6.652 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.293/1.293, 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 10.1.0-maint.10.0.x/package.mo): time 2.361/2.361, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003364, allocations: 8 kB / 0.8729 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5808/0.5811, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002429/0.5836, allocations: 2.122 MB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001832/0.5854, allocations: 1.462 MB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.5856, allocations: 7.938 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.5861, allocations: 219.1 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.5864, allocations: 139.4 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.5867, allocations: 155.7 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.587, allocations: 330.9 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.5872, allocations: 88.69 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.5873, allocations: 111.4 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.5875, allocations: 139.2 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.5875, allocations: 8 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.5876, allocations: 43.97 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.922e-05/0.5877, allocations: 119.4 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.5879, allocations: 188.4 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003926/0.5883, allocations: 486 kB / 1.029 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5883, allocations: 4 kB / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5883, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.5883, allocations: 0 / 1.029 GB, free: 10.23 MB / 0.7794 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.0009144/0.5892, allocations: 0.731 MB / 1.029 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.5893, allocations: 8.031 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.5893, allocations: 50.67 kB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.811e-05/0.5894, allocations: 60.22 kB / 1.029 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.5898, allocations: 423.8 kB / 1.03 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.5899, allocations: 20.12 kB / 1.03 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.5899, allocations: 12 kB / 1.03 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.5901, allocations: 126.8 kB / 1.03 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.5902, allocations: 4 kB / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.5902, allocations: 4 kB / 1.03 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5902, allocations: 4 kB / 1.03 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000159/0.5904, allocations: 83.95 kB / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008645/0.5912, allocations: 0.6523 MB / 1.031 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.5916, allocations: 134.7 kB / 1.031 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.5917, allocations: 48.78 kB / 1.031 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.5917, allocations: 4 kB / 1.031 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.5919, allocations: 103.3 kB / 1.031 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.5919, allocations: 0 / 1.031 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0003893/0.5923, allocations: 217.2 kB / 1.031 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.5923, allocations: 55.41 kB / 1.031 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.5929, allocations: 0.6514 MB / 1.032 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.593, allocations: 33.7 kB / 1.032 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.5932, allocations: 260.3 kB / 1.032 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/0.5932, allocations: 35.55 kB / 1.032 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.5932, allocations: 29.7 kB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5934, allocations: 370.7 kB / 1.033 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.5935, allocations: 79.97 kB / 1.033 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.5937, allocations: 120.8 kB / 1.033 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.5939, allocations: 130.4 kB / 1.033 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5939, allocations: 0 / 1.033 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003519/0.5942, allocations: 266.8 kB / 1.033 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.5943, allocations: 9.781 kB / 1.033 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5943, allocations: 4 kB / 1.033 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.5943, allocations: 0 / 1.033 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.5944, allocations: 43.91 kB / 1.033 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.5945, allocations: 4 kB / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.5946, allocations: 31.83 kB / 1.033 GB, free: 5.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.5946, allocations: 8 kB / 1.033 GB, free: 5.223 MB / 0.7794 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.0001848/0.5948, allocations: 218.2 kB / 1.033 GB, free: 5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.827e-05/0.5949, allocations: 51.34 kB / 1.033 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.985e-05/0.595, allocations: 56.66 kB / 1.034 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.595, allocations: 0 / 1.034 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.595, allocations: 3.938 kB / 1.034 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.595, allocations: 0 / 1.034 GB, free: 4.891 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.5953, allocations: 377.4 kB / 1.034 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5953, allocations: 0 / 1.034 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.261e-05/0.5954, allocations: 11.98 kB / 1.034 GB, free: 4.461 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5954, allocations: 4 kB / 1.034 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.5954, allocations: 4 kB / 1.034 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5954, allocations: 4 kB / 1.034 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5954, allocations: 0 / 1.034 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.5958, allocations: 276.2 kB / 1.034 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.5959, allocations: 132.4 kB / 1.034 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.5959, allocations: 4 kB / 1.034 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.5961, allocations: 24.05 kB / 1.034 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.5961, allocations: 19.97 kB / 1.034 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.5962, allocations: 4 kB / 1.034 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003969/0.5966, allocations: 430.8 kB / 1.035 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5966, allocations: 0 / 1.035 GB, free: 3.543 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002522/0.5968, allocations: 63.98 kB / 1.035 GB, free: 3.48 MB / 0.7794 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.001357/0.5982, allocations: 1.106 MB / 1.036 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.5985, allocations: 159.8 kB / 1.036 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5985, allocations: 0 / 1.036 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.5986, allocations: 55.92 kB / 1.036 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.599, allocations: 80.72 kB / 1.036 GB, free: 2.215 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.603, allocations: 4.007 MB / 1.04 GB, free: 14.1 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.6034, allocations: 0.8542 MB / 1.041 GB, free: 13.22 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.6035, allocations: 38.27 kB / 1.041 GB, free: 13.18 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.6037, allocations: 155.4 kB / 1.041 GB, free: 13.03 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.6037, allocations: 0 / 1.041 GB, free: 13.03 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.542/5.146, allocations: 8.53 MB / 1.049 GB, free: 4.699 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/5.146, allocations: 252.5 kB / 1.05 GB, free: 4.441 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.942/8.088, allocations: 0 / 1.05 GB, free: 4.441 MB / 0.795 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=50 --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