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: 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_10_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_10_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.001353/0.001353, allocations: 105.1 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.001301/0.001301, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.461/1.461, 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 10.1.1-maint.10.0.x/package.mo): time 2.548/2.548, allocations: 437.1 MB / 0.7107 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 68.89 kB / 0.8694 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3245, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004557/0.3291, allocations: 2.794 MB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.331, allocations: 1.046 MB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.3312, allocations: 7.938 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006249/0.3319, allocations: 195.2 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.3321, allocations: 59.56 kB / 1.021 GB, free: 6.898 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.3325, allocations: 167.8 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004519/0.333, allocations: 399.8 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000364/0.3334, allocations: 225.7 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.3336, allocations: 151.2 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.3338, allocations: 191 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.732e-05/0.3339, allocations: 44 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003784/0.3343, allocations: 171.8 kB / 1.023 GB, free: 5.574 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002634/0.3345, allocations: 259.2 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003082/0.3349, allocations: 353.6 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008045/0.3357, allocations: 0.7483 MB / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3357, allocations: 0 / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3357, allocations: 4 kB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.3357, allocations: 0 / 1.024 GB, free: 4.219 MB / 0.795 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.001664/0.3374, allocations: 1.123 MB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3374, allocations: 12.92 kB / 1.025 GB, free: 3.027 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.3389, allocations: 235.3 kB / 1.025 GB, free: 2.797 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.3403, allocations: 0.7306 MB / 1.026 GB, free: 2.012 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.3404, allocations: 21.03 kB / 1.026 GB, free: 1.992 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.3405, allocations: 28.38 kB / 1.026 GB, free: 1.965 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008902/0.3414, allocations: 378.5 kB / 1.027 GB, free: 1.586 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.3414, allocations: 7.938 kB / 1.027 GB, free: 1.578 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.896e-05/0.3414, allocations: 16 kB / 1.027 GB, free: 1.562 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.3414, allocations: 4 kB / 1.027 GB, free: 1.559 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.3425, allocations: 430.2 kB / 1.027 GB, free: 1.141 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00354/0.3461, allocations: 1.776 MB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.3468, allocations: 210.6 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.3471, allocations: 100.8 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-05/0.3472, allocations: 16.22 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.3472, allocations: 34.56 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.3472, allocations: 0 / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.001225/0.3485, allocations: 378.2 kB / 1.029 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.3485, allocations: 51.41 kB / 1.029 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.3501, allocations: 1.247 MB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.3502, allocations: 29.7 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.3506, allocations: 432.1 kB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.394e-05/0.3507, allocations: 63.02 kB / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.3508, allocations: 53.69 kB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3509, allocations: 314 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.3513, allocations: 143.9 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004247/0.3518, allocations: 222.2 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/0.3524, allocations: 287.4 kB / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3525, allocations: 0 / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009787/0.3534, allocations: 464.3 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3535, allocations: 4 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3535, allocations: 0 / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.3535, allocations: 7.938 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.3539, allocations: 63.89 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3539, allocations: 0 / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.3542, allocations: 39.67 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.3542, allocations: 8 kB / 1.033 GB, free: 11.04 MB / 0.8106 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.0003702/0.3546, allocations: 270.3 kB / 1.033 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.3547, allocations: 86.88 kB / 1.033 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009166/0.3557, allocations: 325.7 kB / 1.033 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3557, allocations: 4 kB / 1.033 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.3557, allocations: 0 / 1.033 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3557, allocations: 4 kB / 1.033 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/0.3575, allocations: 0.9962 MB / 1.034 GB, free: 9.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3576, allocations: 4 kB / 1.034 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.3579, allocations: 52.09 kB / 1.034 GB, free: 9.215 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.3579, allocations: 3.984 kB / 1.034 GB, free: 9.211 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.3579, allocations: 4 kB / 1.034 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.3579, allocations: 7.984 kB / 1.034 GB, free: 9.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3579, allocations: 0 / 1.034 GB, free: 9.199 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008545/0.3588, allocations: 446.4 kB / 1.035 GB, free: 8.73 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002924/0.3591, allocations: 203.9 kB / 1.035 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.51e-05/0.3592, allocations: 11.94 kB / 1.035 GB, free: 8.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.3595, allocations: 15.98 kB / 1.035 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.447e-05/0.3595, allocations: 35.86 kB / 1.035 GB, free: 8.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.3596, allocations: 7.984 kB / 1.035 GB, free: 8.441 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001243/0.3608, allocations: 0.9028 MB / 1.036 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3608, allocations: 0 / 1.036 GB, free: 7.527 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004546/0.3613, allocations: 99.84 kB / 1.036 GB, free: 7.43 MB / 0.8106 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.0002328/0.3615, allocations: 119.7 kB / 1.036 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007881/0.3623, allocations: 287.6 kB / 1.036 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3623, allocations: 4 kB / 1.036 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.3627, allocations: 108.1 kB / 1.037 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.3632, allocations: 63.42 kB / 1.037 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.3659, allocations: 1.673 MB / 1.038 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007332/0.3667, allocations: 0.9915 MB / 1.039 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.3669, allocations: 51.42 kB / 1.039 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.3669, allocations: 0 / 1.039 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of Templates: time 0.01555/0.3824, allocations: 8.938 MB / 1.048 GB, free: 11.15 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (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 & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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