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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.003991/0.003991, allocations: 100.2 kB / 15.73 MB, free: 6.004 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.001031/0.001031, allocations: 193 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 63.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.678/0.6791, allocations: 140.4 MB / 1.087 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003389/0.6825, allocations: 2.735 MB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.684, allocations: 1.085 MB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.6842, allocations: 5.062 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005501/0.6847, allocations: 212.7 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001557/0.6849, allocations: 89.48 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.6853, allocations: 183.2 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000379/0.6857, allocations: 403.7 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003039/0.686, allocations: 210.4 kB / 1.092 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.6862, allocations: 150.4 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.6864, allocations: 187.2 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.863e-05/0.6865, allocations: 40.09 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003313/0.6868, allocations: 167 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002268/0.687, allocations: 262.3 kB / 1.093 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.6873, allocations: 358.1 kB / 1.093 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009986/0.6883, allocations: 0.9542 MB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6883, allocations: 0.6562 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6883, allocations: 0.75 kB / 1.094 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.6883, allocations: 0 / 1.094 GB, free: 0.9688 MB / 0.8575 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.001407/0.6897, allocations: 1.14 MB / 1.095 GB, free: 96 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.6898, allocations: 9.375 kB / 1.095 GB, free: 96 kB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.202e-05/0.6898, allocations: 68.48 kB / 1.096 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.6912, allocations: 236.5 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.6926, allocations: 0.7244 MB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.6927, allocations: 21.44 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.6927, allocations: 32.66 kB / 1.096 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008557/0.6936, allocations: 387.4 kB / 1.097 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.6936, allocations: 0 / 1.097 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.337e-05/0.6937, allocations: 11.39 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.6937, allocations: 7.094 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.6948, allocations: 421.7 kB / 1.097 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003433/0.6982, allocations: 1.776 MB / 1.099 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006808/0.6989, allocations: 220.6 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.6992, allocations: 99.47 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.6993, allocations: 9.672 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.6993, allocations: 36.45 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 1.533e-06/0.6993, allocations: 1.062 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.001172/0.7005, allocations: 372 kB / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.7005, allocations: 59.19 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.7023, allocations: 1.245 MB / 1.101 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.7023, allocations: 27.73 kB / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/0.7027, allocations: 440.8 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.637e-05/0.7028, allocations: 65.42 kB / 1.101 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.7029, allocations: 58.81 kB / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.7031, allocations: 319.9 kB / 1.102 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.7035, allocations: 148 kB / 1.102 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004289/0.7039, allocations: 203.5 kB / 1.102 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/0.7046, allocations: 275.1 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7046, allocations: 0 / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009579/0.7056, allocations: 466.7 kB / 1.103 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.7056, allocations: 6.141 kB / 1.103 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.7056, allocations: 5.531 kB / 1.103 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.7057, allocations: 10.75 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003275/0.706, allocations: 57.92 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.706, allocations: 2.75 kB / 1.103 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003078/0.7063, allocations: 36.58 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.7064, allocations: 9.688 kB / 1.103 GB, free: 12.12 MB / 0.8731 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.000316/0.7067, allocations: 278.6 kB / 1.103 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.7068, allocations: 85.7 kB / 1.103 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008905/0.7077, allocations: 324.9 kB / 1.104 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.7077, allocations: 3.266 kB / 1.104 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7077, allocations: 0 / 1.104 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7077, allocations: 2 kB / 1.104 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.7095, allocations: 1.007 MB / 1.105 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7096, allocations: 1.406 kB / 1.105 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.7098, allocations: 45.73 kB / 1.105 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.7098, allocations: 3.219 kB / 1.105 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.7099, allocations: 8.578 kB / 1.105 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.7099, allocations: 2.797 kB / 1.105 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7099, allocations: 2.594 kB / 1.105 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007967/0.7107, allocations: 436.8 kB / 1.105 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/0.711, allocations: 205.3 kB / 1.105 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.207e-05/0.7111, allocations: 4.578 kB / 1.105 GB, free: 10.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/0.7113, allocations: 21.38 kB / 1.105 GB, free: 10.67 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.7114, allocations: 25.61 kB / 1.105 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.7114, allocations: 11.83 kB / 1.105 GB, free: 10.65 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00108/0.7125, allocations: 0.9025 MB / 1.106 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.492e-06/0.7125, allocations: 0 / 1.106 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004788/0.713, allocations: 106.6 kB / 1.106 GB, free: 10.27 MB / 0.8731 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.001191/0.7142, allocations: 0.9893 MB / 1.107 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007597/0.715, allocations: 283.7 kB / 1.108 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.715, allocations: 0 / 1.108 GB, free: 9.352 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003263/0.7153, allocations: 100.4 kB / 1.108 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/0.7159, allocations: 78.16 kB / 1.108 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.7264, allocations: 7.23 MB / 1.115 GB, free: 5.887 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/0.7271, allocations: 0.9927 MB / 1.116 GB, free: 5.145 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003206/0.7274, allocations: 105.2 kB / 1.116 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/0.7278, allocations: 295.9 kB / 1.116 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of SimCode: time 2.224e-06/0.7278, allocations: 0 / 1.116 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8253/1.553, allocations: 13.68 MB / 1.13 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/14.27, allocations: 13.56 kB / 1.13 GB, free: 3.008 MB / 0.8731 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