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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 106.2 kB / 16.41 MB, free: 6.438 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.001165/0.001165, allocations: 191.2 kB / 17.34 MB, free: 5.742 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.16 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.25/2.25, allocations: 390.2 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 59.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7836/0.785, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003688/0.7887, allocations: 2.737 MB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.7907, allocations: 1.088 MB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002537/0.7909, allocations: 5.062 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006447/0.7916, allocations: 222.8 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.7918, allocations: 80.98 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005225/0.7924, allocations: 179.7 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004321/0.7928, allocations: 403.2 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.7931, allocations: 218.2 kB / 1.093 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.7933, allocations: 154.8 kB / 1.094 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.7935, allocations: 173.7 kB / 1.094 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.962e-05/0.7936, allocations: 44.8 kB / 1.094 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.7939, allocations: 172 kB / 1.094 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002198/0.7942, allocations: 258.3 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002341/0.7944, allocations: 348.9 kB / 1.095 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.7955, allocations: 0.9619 MB / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.7955, allocations: 0 / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.467e-06/0.7955, allocations: 0 / 1.095 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.56e-05/0.7955, allocations: 7.938 kB / 1.095 GB, free: 1.211 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.001448/0.797, allocations: 1.125 MB / 1.097 GB, free: 360 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.797, allocations: 9.594 kB / 1.097 GB, free: 360 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001393/0.7984, allocations: 240.7 kB / 1.097 GB, free: 296 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.7999, allocations: 0.7253 MB / 1.098 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.8, allocations: 25.16 kB / 1.098 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.8, allocations: 28.28 kB / 1.098 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000952/0.801, allocations: 383.9 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.801, allocations: 3.938 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.8011, allocations: 10.69 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.8011, allocations: 7.281 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.8022, allocations: 418 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.806, allocations: 1.783 MB / 1.1 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006759/0.8067, allocations: 217 kB / 1.1 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.8071, allocations: 99.91 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.8071, allocations: 9.562 kB / 1.1 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.8072, allocations: 36.75 kB / 1.1 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=20): time 1.724e-06/0.8072, allocations: 0 / 1.1 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20): time 0.001229/0.8084, allocations: 378.6 kB / 1.101 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.8084, allocations: 53.31 kB / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.8103, allocations: 1.245 MB / 1.102 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.8104, allocations: 31.91 kB / 1.102 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004448/0.8108, allocations: 436.7 kB / 1.103 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.141e-05/0.8109, allocations: 65.84 kB / 1.103 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.8111, allocations: 54.31 kB / 1.103 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.8112, allocations: 316.1 kB / 1.103 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.8116, allocations: 148.2 kB / 1.103 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.812, allocations: 203.6 kB / 1.103 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006712/0.8126, allocations: 288.7 kB / 1.104 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8127, allocations: 0 / 1.104 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001006/0.8137, allocations: 460 kB / 1.104 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.8137, allocations: 6.266 kB / 1.104 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.8137, allocations: 8.938 kB / 1.104 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.8137, allocations: 7.875 kB / 1.104 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.8141, allocations: 56.02 kB / 1.104 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.8141, allocations: 3.625 kB / 1.104 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.8144, allocations: 36.52 kB / 1.104 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.8145, allocations: 12.88 kB / 1.104 GB, free: 12.43 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.0004247/0.8149, allocations: 272.6 kB / 1.104 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.815, allocations: 85.45 kB / 1.104 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009301/0.816, allocations: 320.6 kB / 1.105 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.816, allocations: 3.312 kB / 1.105 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.816, allocations: 0 / 1.105 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.816, allocations: 1.359 kB / 1.105 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00191/0.8179, allocations: 1.003 MB / 1.106 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.818, allocations: 1.219 kB / 1.106 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.8182, allocations: 45.66 kB / 1.106 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.8182, allocations: 2.219 kB / 1.106 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.8183, allocations: 9.609 kB / 1.106 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.8183, allocations: 2.969 kB / 1.106 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.8183, allocations: 6.797 kB / 1.106 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008694/0.8192, allocations: 440 kB / 1.106 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/0.8195, allocations: 201.8 kB / 1.106 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.241e-05/0.8196, allocations: 16.73 kB / 1.106 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.8198, allocations: 13.59 kB / 1.106 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.144e-05/0.8199, allocations: 21.39 kB / 1.106 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.8199, allocations: 11.92 kB / 1.106 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001375/0.8213, allocations: 0.9024 MB / 1.107 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8213, allocations: 3.938 kB / 1.107 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005779/0.8219, allocations: 102.9 kB / 1.107 GB, free: 10.59 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.0002416/0.8222, allocations: 123.5 kB / 1.108 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008005/0.823, allocations: 281.2 kB / 1.108 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.823, allocations: 0 / 1.108 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003276/0.8233, allocations: 109.5 kB / 1.108 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/0.8239, allocations: 58.31 kB / 1.108 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002604/0.8265, allocations: 1.437 MB / 1.109 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007949/0.8273, allocations: 1.004 MB / 1.11 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002526/0.8275, allocations: 46.77 kB / 1.11 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of SimCode: time 9.32e-07/0.8275, allocations: 0 / 1.11 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of Templates: time 0.01883/0.8464, allocations: 9.03 MB / 1.119 GB, free: 7.152 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (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 & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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