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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: 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_latest_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_latest_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.001336/0.001336, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001361/0.001361, allocations: 195.4 kB / 16.91 MB, free: 6.195 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.334/1.334, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.544/2.544, allocations: 469.4 MB / 0.7423 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 66.94 kB / 0.9083 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3236, allocations: 159.1 MB / 1.064 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004436/0.3281, allocations: 2.779 MB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.33, allocations: 1.057 MB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002937/0.3303, allocations: 4 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007246/0.3311, allocations: 187.2 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.3314, allocations: 63.56 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005625/0.3319, allocations: 159.8 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005078/0.3324, allocations: 411.7 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.3328, allocations: 213.8 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.333, allocations: 147.3 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.3333, allocations: 195 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.818e-05/0.3333, allocations: 40 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003358/0.3337, allocations: 171.8 kB / 1.069 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.3339, allocations: 259.2 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.3342, allocations: 357.6 kB / 1.07 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000741/0.335, allocations: 0.756 MB / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.335, allocations: 0 / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.316e-06/0.335, allocations: 0 / 1.07 GB, free: 8.578 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.562e-05/0.335, allocations: 3.938 kB / 1.07 GB, free: 8.574 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.001728/0.3368, allocations: 1.127 MB / 1.071 GB, free: 7.391 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3368, allocations: 12.62 kB / 1.071 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.3381, allocations: 235.5 kB / 1.072 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.3396, allocations: 0.7189 MB / 1.072 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.3396, allocations: 29.03 kB / 1.072 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/0.3397, allocations: 28.38 kB / 1.072 GB, free: 6.316 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008626/0.3406, allocations: 378.5 kB / 1.073 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3406, allocations: 3.938 kB / 1.073 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.3406, allocations: 12 kB / 1.073 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.3406, allocations: 19.94 kB / 1.073 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009795/0.3416, allocations: 422.3 kB / 1.073 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00345/0.3451, allocations: 1.779 MB / 1.075 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.3458, allocations: 216.1 kB / 1.075 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.3461, allocations: 96.81 kB / 1.075 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/0.3462, allocations: 11.98 kB / 1.075 GB, free: 3.297 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3462, allocations: 38.52 kB / 1.075 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.3462, allocations: 0 / 1.075 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.001114/0.3473, allocations: 373.7 kB / 1.076 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3474, allocations: 59.36 kB / 1.076 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.349, allocations: 1.247 MB / 1.077 GB, free: 1.539 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.349, allocations: 33.7 kB / 1.077 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.3494, allocations: 428 kB / 1.077 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.3495, allocations: 67.05 kB / 1.077 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.3496, allocations: 57.59 kB / 1.077 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.3497, allocations: 314 kB / 1.078 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.35, allocations: 147.9 kB / 1.078 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.3504, allocations: 199 kB / 1.078 GB, free: 284 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5606/0.911, allocations: 275.6 kB / 1.078 GB, free: 21.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.9111, allocations: 0 / 1.078 GB, free: 21.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001392/0.9125, allocations: 460.8 kB / 1.079 GB, free: 21.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.9125, allocations: 8.219 kB / 1.079 GB, free: 21.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.9125, allocations: 1.969 kB / 1.079 GB, free: 21.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.9126, allocations: 7.344 kB / 1.079 GB, free: 21.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.9129, allocations: 59.72 kB / 1.079 GB, free: 21.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.9129, allocations: 2.812 kB / 1.079 GB, free: 21.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.9133, allocations: 38.58 kB / 1.079 GB, free: 21.82 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.9133, allocations: 8.75 kB / 1.079 GB, free: 21.82 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.0003961/0.9137, allocations: 278.7 kB / 1.079 GB, free: 21.71 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.9138, allocations: 87.53 kB / 1.079 GB, free: 21.69 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008967/0.9148, allocations: 322.5 kB / 1.08 GB, free: 21.64 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.9148, allocations: 1.406 kB / 1.08 GB, free: 21.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9148, allocations: 0 / 1.08 GB, free: 21.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.9148, allocations: 1.875 kB / 1.08 GB, free: 21.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.9165, allocations: 1.007 MB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.9165, allocations: 1.906 kB / 1.081 GB, free: 21.29 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.9168, allocations: 52.59 kB / 1.081 GB, free: 21.28 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.9168, allocations: 3.938 kB / 1.081 GB, free: 21.28 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.9169, allocations: 7.422 kB / 1.081 GB, free: 21.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.9169, allocations: 4.094 kB / 1.081 GB, free: 21.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.9169, allocations: 2.375 kB / 1.081 GB, free: 21.28 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007103/0.9176, allocations: 437.1 kB / 1.081 GB, free: 21.06 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.9178, allocations: 210.1 kB / 1.081 GB, free: 20.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.248e-05/0.9179, allocations: 8.047 kB / 1.081 GB, free: 20.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002782/0.9182, allocations: 20.58 kB / 1.081 GB, free: 20.91 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.9183, allocations: 20.77 kB / 1.081 GB, free: 20.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.9183, allocations: 11.95 kB / 1.081 GB, free: 20.91 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001119/0.9194, allocations: 0.9046 MB / 1.082 GB, free: 20.64 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9194, allocations: 0 / 1.082 GB, free: 20.64 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004649/0.9199, allocations: 92.92 kB / 1.082 GB, free: 20.63 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.0002183/0.9201, allocations: 126.7 kB / 1.082 GB, free: 20.54 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0007674/0.9209, allocations: 286.2 kB / 1.083 GB, free: 20.46 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.696e-06/0.9209, allocations: 0 / 1.083 GB, free: 20.46 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.9212, allocations: 101.4 kB / 1.083 GB, free: 20.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004905/0.9217, allocations: 76.78 kB / 1.083 GB, free: 20.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.9241, allocations: 1.669 MB / 1.085 GB, free: 19.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.9247, allocations: 1.002 MB / 1.085 GB, free: 18.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.9249, allocations: 47.56 kB / 1.086 GB, free: 18.65 MB / 0.8419 GB Notification: Performance of SimCode: time 3.3e-07/0.9249, allocations: 0 / 1.086 GB, free: 18.65 MB / 0.8419 GB Notification: Performance of Templates: time 0.02043/0.9453, allocations: 8.938 MB / 1.094 GB, free: 17.09 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (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 & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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