Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_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.004422/0.004422, allocations: 103.6 kB / 15.74 MB, free: 6.043 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.001132/0.001132, allocations: 202.2 kB / 16.68 MB, free: 5.965 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.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.572/2.572, allocations: 482.6 MB / 0.755 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 75.89 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2699, allocations: 162.3 MB / 1.242 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003658/0.2735, allocations: 2.733 MB / 1.245 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.2751, allocations: 1.092 MB / 1.246 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.2752, allocations: 4 kB / 1.246 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005375/0.2757, allocations: 214.6 kB / 1.246 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.2759, allocations: 79.31 kB / 1.246 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003987/0.2763, allocations: 187.6 kB / 1.246 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003993/0.2767, allocations: 403.8 kB / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002974/0.277, allocations: 213.8 kB / 1.247 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.2772, allocations: 155.2 kB / 1.247 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.2774, allocations: 179 kB / 1.247 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.498e-05/0.2774, allocations: 40 kB / 1.247 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.2777, allocations: 171.8 kB / 1.247 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.2779, allocations: 259.2 kB / 1.247 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002955/0.2782, allocations: 357.6 kB / 1.248 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009284/0.2792, allocations: 0.9681 MB / 1.249 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2792, allocations: 4 kB / 1.249 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2792, allocations: 0 / 1.249 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.2792, allocations: 0 / 1.249 GB, free: 2.719 MB / 0.9981 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.001399/0.2806, allocations: 1.166 MB / 1.25 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2806, allocations: 8.031 kB / 1.25 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.452e-05/0.2807, allocations: 70.72 kB / 1.25 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.2819, allocations: 240 kB / 1.25 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.2832, allocations: 0.7276 MB / 1.251 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.2832, allocations: 21.03 kB / 1.251 GB, free: 380 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.2833, allocations: 36.38 kB / 1.251 GB, free: 344 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4414/0.7247, allocations: 382.7 kB / 1.251 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.7248, allocations: 0.8438 kB / 1.251 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.7248, allocations: 10.06 kB / 1.251 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.7249, allocations: 9.156 kB / 1.251 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.7259, allocations: 420.7 kB / 1.252 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/0.7287, allocations: 1.777 MB / 1.253 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.7293, allocations: 222 kB / 1.254 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.7296, allocations: 95.22 kB / 1.254 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.7296, allocations: 11.7 kB / 1.254 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.319e-05/0.7296, allocations: 40.48 kB / 1.254 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.933e-06/0.7296, allocations: 3.469 kB / 1.254 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.000996/0.7306, allocations: 370.5 kB / 1.254 GB, free: 13.64 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.902e-05/0.7307, allocations: 54.31 kB / 1.254 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.732, allocations: 1.248 MB / 1.255 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.732, allocations: 31.88 kB / 1.255 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.7322, allocations: 436.6 kB / 1.256 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.7323, allocations: 68.94 kB / 1.256 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.249e-05/0.7324, allocations: 51.08 kB / 1.256 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.656e-05/0.7324, allocations: 319.8 kB / 1.256 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.7327, allocations: 143.9 kB / 1.256 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.7331, allocations: 204.7 kB / 1.257 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/0.7337, allocations: 283 kB / 1.257 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.7337, allocations: 4.844 kB / 1.257 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008125/0.7345, allocations: 471.1 kB / 1.257 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.7345, allocations: 6.375 kB / 1.257 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.7345, allocations: 1.438 kB / 1.257 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.7346, allocations: 3.281 kB / 1.257 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/0.7349, allocations: 60.47 kB / 1.257 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.7349, allocations: 2.781 kB / 1.257 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.7351, allocations: 39.84 kB / 1.257 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.7351, allocations: 8.984 kB / 1.257 GB, free: 11.86 MB / 0.9981 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.0002198/0.7354, allocations: 270.6 kB / 1.258 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.805e-05/0.7355, allocations: 94.16 kB / 1.258 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007579/0.7362, allocations: 327 kB / 1.258 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.7362, allocations: 2.312 kB / 1.258 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7362, allocations: 0 / 1.258 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.7363, allocations: 2.234 kB / 1.258 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.7377, allocations: 1.005 MB / 1.259 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.7377, allocations: 1.844 kB / 1.259 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.738, allocations: 47.23 kB / 1.259 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.738, allocations: 13.27 kB / 1.259 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.738, allocations: 3.656 kB / 1.259 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.738, allocations: 6 kB / 1.259 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.738, allocations: 6.219 kB / 1.259 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.7387, allocations: 441.5 kB / 1.26 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.7388, allocations: 210.5 kB / 1.26 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.356e-05/0.7389, allocations: 8.594 kB / 1.26 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.7392, allocations: 19.95 kB / 1.26 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.7392, allocations: 18.27 kB / 1.26 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.7393, allocations: 8.25 kB / 1.26 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008874/0.7402, allocations: 0.9085 MB / 1.261 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7402, allocations: 0 / 1.261 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003805/0.7405, allocations: 101.1 kB / 1.261 GB, free: 10.03 MB / 0.9981 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.0008812/0.7414, allocations: 0.998 MB / 1.262 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006536/0.7421, allocations: 281.3 kB / 1.262 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7421, allocations: 0 / 1.262 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.7424, allocations: 110.2 kB / 1.262 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.7428, allocations: 62.75 kB / 1.262 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007624/0.7504, allocations: 7.252 MB / 1.269 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.7508, allocations: 0.9969 MB / 1.27 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002582/0.7511, allocations: 107.4 kB / 1.27 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.7514, allocations: 293.9 kB / 1.271 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.7514, allocations: 0 / 1.271 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7292/1.481, allocations: 13.71 MB / 1.284 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.61/19.09, allocations: 11.75 kB / 1.284 GB, free: 2.77 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches