Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.EnergyConversionWarmUp,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_10_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.004537/0.004537, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001334/0.001334, allocations: 192.3 kB / 16.68 MB, free: 5.973 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.271/2.271, allocations: 437.1 MB / 0.7105 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 67.89 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5715/0.5731, allocations: 151.6 MB / 1.166 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003512/0.5767, allocations: 2.749 MB / 1.169 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.5781, allocations: 1.081 MB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.5782, allocations: 8.047 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0004918/0.5787, allocations: 210.6 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.5789, allocations: 83.23 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003695/0.5793, allocations: 179.7 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003719/0.5796, allocations: 407.7 kB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.5799, allocations: 217.8 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.5801, allocations: 147.3 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.5803, allocations: 179 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.398e-05/0.5803, allocations: 43.94 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.5806, allocations: 175.8 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.5808, allocations: 267.2 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.5811, allocations: 349.6 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008611/0.582, allocations: 0.9717 MB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.582, allocations: 0 / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.102e-06/0.582, allocations: 0 / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.582, allocations: 0 / 1.173 GB, free: 12.8 MB / 0.9044 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.001316/0.5833, allocations: 1.158 MB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.5834, allocations: 16.62 kB / 1.174 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/0.5834, allocations: 62.73 kB / 1.174 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.5846, allocations: 248 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.5859, allocations: 0.7353 MB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.5859, allocations: 25.03 kB / 1.175 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.595e-05/0.5859, allocations: 32.38 kB / 1.175 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007487/0.5867, allocations: 378.3 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.5867, allocations: 4 kB / 1.176 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.794e-05/0.5868, allocations: 12 kB / 1.176 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.5868, allocations: 8 kB / 1.176 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009696/0.5877, allocations: 426.3 kB / 1.176 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002784/0.5905, allocations: 1.776 MB / 1.178 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/0.5912, allocations: 222.6 kB / 1.178 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.5915, allocations: 96.75 kB / 1.178 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.5915, allocations: 15.98 kB / 1.178 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.5915, allocations: 30.56 kB / 1.178 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.5916, allocations: 4 kB / 1.178 GB, free: 7.344 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.001025/0.5926, allocations: 371.1 kB / 1.178 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.5926, allocations: 59.39 kB / 1.179 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.594, allocations: 1.243 MB / 1.18 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.594, allocations: 33.7 kB / 1.18 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/0.5943, allocations: 432.4 kB / 1.18 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.029e-05/0.5944, allocations: 71.72 kB / 1.18 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.074e-05/0.5945, allocations: 57.66 kB / 1.18 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.5946, allocations: 318 kB / 1.181 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.595, allocations: 147.9 kB / 1.181 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003689/0.5954, allocations: 205.9 kB / 1.181 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/0.596, allocations: 291.1 kB / 1.181 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.596, allocations: 0 / 1.181 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008591/0.5969, allocations: 461.7 kB / 1.182 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.5969, allocations: 8 kB / 1.182 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5969, allocations: 3.938 kB / 1.182 GB, free: 3.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.5969, allocations: 4 kB / 1.182 GB, free: 3.586 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.5972, allocations: 59.92 kB / 1.182 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.5972, allocations: 4 kB / 1.182 GB, free: 3.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.5975, allocations: 35.77 kB / 1.182 GB, free: 3.488 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.5975, allocations: 12 kB / 1.182 GB, free: 3.477 MB / 0.9044 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.000274/0.5978, allocations: 271.9 kB / 1.182 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.5979, allocations: 91.39 kB / 1.182 GB, free: 3.113 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007992/0.5987, allocations: 331.9 kB / 1.182 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5987, allocations: 0 / 1.182 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5987, allocations: 4 kB / 1.182 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.5987, allocations: 3.938 kB / 1.182 GB, free: 2.777 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001537/0.6003, allocations: 1.005 MB / 1.183 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6003, allocations: 0 / 1.183 GB, free: 1.699 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.6006, allocations: 52.09 kB / 1.184 GB, free: 1.648 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6006, allocations: 4 kB / 1.184 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.6006, allocations: 8 kB / 1.184 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.6006, allocations: 3.984 kB / 1.184 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6006, allocations: 4 kB / 1.184 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007417/0.6013, allocations: 440.1 kB / 1.184 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.6016, allocations: 208.4 kB / 1.184 GB, free: 0.9414 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.505e-05/0.6016, allocations: 8 kB / 1.184 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.6019, allocations: 15.92 kB / 1.184 GB, free: 0.918 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.602, allocations: 27.86 kB / 1.184 GB, free: 0.8906 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.602, allocations: 15.98 kB / 1.184 GB, free: 0.875 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0009758/0.603, allocations: 0.9028 MB / 1.185 GB, free: 15.96 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.603, allocations: 0 / 1.185 GB, free: 15.96 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003623/0.6034, allocations: 99.78 kB / 1.185 GB, free: 15.86 MB / 0.92 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.001119/0.6045, allocations: 0.9919 MB / 1.186 GB, free: 14.82 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0006877/0.6052, allocations: 275.7 kB / 1.186 GB, free: 14.55 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6052, allocations: 0 / 1.186 GB, free: 14.55 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.6055, allocations: 109.4 kB / 1.187 GB, free: 14.45 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.6059, allocations: 65.92 kB / 1.187 GB, free: 14.38 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009139/0.6151, allocations: 7.261 MB / 1.194 GB, free: 6.934 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.6157, allocations: 0.9947 MB / 1.195 GB, free: 5.914 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002691/0.616, allocations: 100.6 kB / 1.195 GB, free: 5.812 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003601/0.6163, allocations: 295.3 kB / 1.195 GB, free: 5.523 MB / 0.92 GB Notification: Performance of SimCode: time 2.41e-07/0.6163, allocations: 0 / 1.195 GB, free: 5.523 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8508/1.467, allocations: 13.71 MB / 1.208 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.89/18.36, allocations: 6.656 kB / 1.208 GB, free: 8 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches