Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.EnergyConversionWarmUp,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",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.001128/0.001128, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001141/0.001142, allocations: 190 kB / 16.14 MB, free: 6.719 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 390.2 MB / 0.6643 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 67.91 kB / 0.812 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5168/0.5182, allocations: 140.4 MB / 0.949 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.002932/0.5212, allocations: 2.779 MB / 0.9518 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.5223, allocations: 1.073 MB / 0.9528 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.5224, allocations: 4.188 kB / 0.9528 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.5229, allocations: 209.5 kB / 0.953 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.523, allocations: 58.56 kB / 0.9531 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.5233, allocations: 148.3 kB / 0.9532 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00026/0.5236, allocations: 390.4 kB / 0.9536 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.5238, allocations: 203.6 kB / 0.9538 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.524, allocations: 127.8 kB / 0.9539 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.5241, allocations: 175.7 kB / 0.9541 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.339e-05/0.5241, allocations: 22 kB / 0.9541 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.5244, allocations: 155.9 kB / 0.9542 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.5245, allocations: 245.7 kB / 0.9545 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.5247, allocations: 328.9 kB / 0.9548 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.5252, allocations: 0.9166 MB / 0.9557 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5252, allocations: 1.312 kB / 0.9557 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.72e-07/0.5253, allocations: 4 kB / 0.9557 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.5253, allocations: 0 / 0.9557 GB, free: 4.289 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001069/0.5263, allocations: 1.129 MB / 0.9568 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.5264, allocations: 8.812 kB / 0.9568 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.5264, allocations: 69.19 kB / 0.9569 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/0.5277, allocations: 238 kB / 0.9571 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.5288, allocations: 0.7283 MB / 0.9578 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.5288, allocations: 26.5 kB / 0.9578 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.5288, allocations: 27.47 kB / 0.9578 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.5295, allocations: 386.4 kB / 0.9582 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.5296, allocations: 0 / 0.9582 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.5296, allocations: 15.22 kB / 0.9582 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.5296, allocations: 7.5 kB / 0.9582 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008973/0.5305, allocations: 416.2 kB / 0.9586 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.5329, allocations: 1.797 MB / 0.9604 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005852/0.5335, allocations: 218.2 kB / 0.9606 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.5338, allocations: 102.8 kB / 0.9607 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.5338, allocations: 3.875 kB / 0.9607 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.267e-05/0.5339, allocations: 36.11 kB / 0.9607 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.5339, allocations: 1.156 kB / 0.9607 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0009616/0.5348, allocations: 378.6 kB / 0.9611 GB, free: 468 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.769e-05/0.5349, allocations: 54.22 kB / 0.9611 GB, free: 404 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.5361, allocations: 1.248 MB / 0.9624 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.5362, allocations: 31.95 kB / 0.9624 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.5365, allocations: 429.4 kB / 0.9628 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.212e-05/0.5365, allocations: 72.23 kB / 0.9629 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.464e-05/0.5366, allocations: 48.92 kB / 0.9629 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.5367, allocations: 316.1 kB / 0.9632 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.5371, allocations: 147.4 kB / 0.9634 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.5374, allocations: 198.8 kB / 0.9636 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/0.5381, allocations: 282 kB / 0.9638 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5381, allocations: 1.031 kB / 0.9638 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008703/0.5389, allocations: 467 kB / 0.9643 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.539, allocations: 5.406 kB / 0.9643 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.539, allocations: 9.219 kB / 0.9643 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.539, allocations: 2.875 kB / 0.9643 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.5393, allocations: 58.5 kB / 0.9643 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.5393, allocations: 6.141 kB / 0.9643 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/0.5396, allocations: 33.11 kB / 0.9644 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.5396, allocations: 11.19 kB / 0.9644 GB, free: 14.29 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002737/0.5399, allocations: 277.8 kB / 0.9647 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.54, allocations: 80.78 kB / 0.9647 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008174/0.5409, allocations: 329 kB / 0.965 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5409, allocations: 2.531 kB / 0.965 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5409, allocations: 0 / 0.965 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.5409, allocations: 5.078 kB / 0.9651 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.5425, allocations: 1.004 MB / 0.966 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.5425, allocations: 2.188 kB / 0.966 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.5428, allocations: 51.89 kB / 0.9661 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.5428, allocations: 2.25 kB / 0.9661 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.5428, allocations: 3.625 kB / 0.9661 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.5428, allocations: 2.5 kB / 0.9661 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5428, allocations: 2.375 kB / 0.9661 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007158/0.5435, allocations: 448.8 kB / 0.9665 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.5438, allocations: 199.1 kB / 0.9667 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.418e-05/0.5438, allocations: 10.73 kB / 0.9667 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.5441, allocations: 21.45 kB / 0.9667 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.5442, allocations: 16.08 kB / 0.9668 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.5442, allocations: 14.8 kB / 0.9668 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000986/0.5452, allocations: 0.8982 MB / 0.9676 GB, free: 12 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5452, allocations: 0 / 0.9676 GB, free: 12 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003969/0.5456, allocations: 105.3 kB / 0.9677 GB, free: 11.98 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.001059/0.5467, allocations: 1 MB / 0.9687 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006536/0.5473, allocations: 273.6 kB / 0.969 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5474, allocations: 1.188 kB / 0.969 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.5477, allocations: 103 kB / 0.9691 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.5481, allocations: 69.14 kB / 0.9692 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.5587, allocations: 7.801 MB / 0.9768 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005419/0.5592, allocations: 0.9869 MB / 0.9777 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003336/0.5596, allocations: 100.7 kB / 0.9778 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000342/0.5599, allocations: 295.3 kB / 0.9781 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.5599, allocations: 0 / 0.9781 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.604/2.164, allocations: 13.14 MB / 0.9909 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/2.164, allocations: 225.9 kB / 0.9912 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/4.085, allocations: 0 / 0.9912 GB, free: 6.465 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches