Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001614/0.001614, allocations: 111.6 kB / 15.99 MB, free: 6.348 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.001506/0.001506, allocations: 191 kB / 16.91 MB, free: 6.184 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.342/1.342, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.605/2.605, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 71.98 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3125, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004128/0.3167, allocations: 2.761 MB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.3183, allocations: 1.061 MB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.3185, allocations: 4 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005811/0.3191, allocations: 195.2 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.3193, allocations: 59.56 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.3197, allocations: 155.8 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004385/0.3202, allocations: 411.7 kB / 1.069 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003375/0.3205, allocations: 221.7 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.3207, allocations: 151.2 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001954/0.3209, allocations: 191 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.966e-05/0.321, allocations: 40 kB / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.3213, allocations: 171.8 kB / 1.069 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.3215, allocations: 259.2 kB / 1.07 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.3218, allocations: 357.6 kB / 1.07 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0007373/0.3225, allocations: 0.7483 MB / 1.071 GB, free: 8.312 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3226, allocations: 4 kB / 1.071 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.206e-06/0.3226, allocations: 0 / 1.071 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.3226, allocations: 3.938 kB / 1.071 GB, free: 8.305 MB / 0.8419 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.001521/0.3241, allocations: 1.127 MB / 1.072 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3242, allocations: 12.03 kB / 1.072 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/0.3254, allocations: 231.5 kB / 1.072 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.3267, allocations: 0.7228 MB / 1.073 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.3268, allocations: 29.03 kB / 1.073 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.3268, allocations: 28.38 kB / 1.073 GB, free: 6.047 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008116/0.3277, allocations: 382.5 kB / 1.073 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.3277, allocations: 3.938 kB / 1.073 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.3277, allocations: 16 kB / 1.073 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3277, allocations: 4 kB / 1.073 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009795/0.3287, allocations: 422.3 kB / 1.074 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.3318, allocations: 1.776 MB / 1.075 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000663/0.3325, allocations: 222.6 kB / 1.076 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.3328, allocations: 102.9 kB / 1.076 GB, free: 3.039 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.3328, allocations: 4 kB / 1.076 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.3329, allocations: 38.52 kB / 1.076 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.3329, allocations: 0 / 1.076 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.001064/0.3339, allocations: 372.4 kB / 1.076 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.334, allocations: 59.36 kB / 1.076 GB, free: 2.547 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.3355, allocations: 1.25 MB / 1.077 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.3355, allocations: 29.7 kB / 1.077 GB, free: 1.238 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.3359, allocations: 436 kB / 1.078 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.341e-05/0.336, allocations: 63.41 kB / 1.078 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.3361, allocations: 53.59 kB / 1.078 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3363, allocations: 321.9 kB / 1.078 GB, free: 376 kB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.3366, allocations: 147.9 kB / 1.078 GB, free: 228 kB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.337, allocations: 197.9 kB / 1.079 GB, free: 8 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4696/0.8066, allocations: 273.4 kB / 1.079 GB, free: 21.87 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.8066, allocations: 1.969 kB / 1.079 GB, free: 21.87 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001194/0.8078, allocations: 462.4 kB / 1.079 GB, free: 21.83 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.8079, allocations: 5.828 kB / 1.079 GB, free: 21.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.8079, allocations: 3.281 kB / 1.079 GB, free: 21.83 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.8079, allocations: 7.406 kB / 1.079 GB, free: 21.83 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.8083, allocations: 64.81 kB / 1.079 GB, free: 21.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.8083, allocations: 2.984 kB / 1.079 GB, free: 21.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.8087, allocations: 33.56 kB / 1.079 GB, free: 21.83 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.8088, allocations: 12.31 kB / 1.079 GB, free: 21.83 MB / 0.8419 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.0004019/0.8092, allocations: 276 kB / 1.08 GB, free: 21.72 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.8093, allocations: 85.7 kB / 1.08 GB, free: 21.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009409/0.8103, allocations: 325.4 kB / 1.08 GB, free: 21.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.8103, allocations: 6.406 kB / 1.08 GB, free: 21.65 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.8103, allocations: 1.938 kB / 1.08 GB, free: 21.65 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.8103, allocations: 0.6562 kB / 1.08 GB, free: 21.65 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.812, allocations: 1.002 MB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.812, allocations: 2.266 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.8123, allocations: 48.8 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.8123, allocations: 3.25 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.8123, allocations: 12.47 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.8123, allocations: 2.719 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.8123, allocations: 2.094 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000702/0.813, allocations: 431.2 kB / 1.081 GB, free: 21.06 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.8133, allocations: 210.3 kB / 1.082 GB, free: 20.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.184e-05/0.8133, allocations: 8.047 kB / 1.082 GB, free: 20.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.8136, allocations: 18.08 kB / 1.082 GB, free: 20.92 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.8137, allocations: 21.3 kB / 1.082 GB, free: 20.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.049e-05/0.8137, allocations: 8.688 kB / 1.082 GB, free: 20.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001047/0.8148, allocations: 0.9023 MB / 1.083 GB, free: 20.55 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8148, allocations: 3.938 kB / 1.083 GB, free: 20.55 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00044/0.8152, allocations: 98.44 kB / 1.083 GB, free: 20.54 MB / 0.8419 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.0001809/0.8154, allocations: 126.6 kB / 1.083 GB, free: 20.45 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007279/0.8161, allocations: 288 kB / 1.083 GB, free: 20.37 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8161, allocations: 1.156 kB / 1.083 GB, free: 20.37 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.8164, allocations: 104.6 kB / 1.083 GB, free: 20.34 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.8169, allocations: 69.36 kB / 1.083 GB, free: 20.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.8192, allocations: 1.673 MB / 1.085 GB, free: 19.31 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.8196, allocations: 0.9967 MB / 1.086 GB, free: 18.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.8198, allocations: 51.42 kB / 1.086 GB, free: 18.56 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.8198, allocations: 0 / 1.086 GB, free: 18.56 MB / 0.8419 GB Notification: Performance of Templates: time 0.01728/0.8371, allocations: 8.937 MB / 1.095 GB, free: 17.01 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches