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.005555/0.005555, allocations: 98.64 kB / 15.73 MB, free: 6.047 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.001517/0.001517, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.549/1.549, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.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.78/2.78, allocations: 437.1 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002653/0.002653, allocations: 55.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3158, allocations: 151.6 MB / 1.166 GB, free: 7.324 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004137/0.32, allocations: 2.741 MB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.3216, allocations: 1.085 MB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.3217, allocations: 4 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005502/0.3223, allocations: 214.9 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.3225, allocations: 83.25 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.3229, allocations: 179.7 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.3233, allocations: 403.8 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003197/0.3237, allocations: 217.8 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001769/0.3239, allocations: 151.3 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.3241, allocations: 186.9 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.3241, allocations: 40 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003122/0.3244, allocations: 175.8 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.3247, allocations: 267.2 kB / 1.172 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.325, allocations: 353.6 kB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0009802/0.326, allocations: 0.9681 MB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.326, allocations: 0 / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.272e-06/0.326, allocations: 0 / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.326, allocations: 4 kB / 1.173 GB, free: 264 kB / 0.92 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.001514/0.3275, allocations: 1.158 MB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3276, allocations: 12.03 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.415e-05/0.3276, allocations: 70.72 kB / 1.174 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.3289, allocations: 240 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.3303, allocations: 0.7353 MB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.3303, allocations: 21.03 kB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.3304, allocations: 32.38 kB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008273/0.3312, allocations: 382.3 kB / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3312, allocations: 0 / 1.176 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.3313, allocations: 19.94 kB / 1.176 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3313, allocations: 8 kB / 1.176 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.3323, allocations: 418.4 kB / 1.176 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003118/0.3354, allocations: 1.772 MB / 1.178 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.3361, allocations: 220.5 kB / 1.178 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.3364, allocations: 92.81 kB / 1.178 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.3365, allocations: 11.92 kB / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.3365, allocations: 38.56 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.3365, allocations: 4 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.001091/0.3376, allocations: 374.9 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.3377, allocations: 55.41 kB / 1.179 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.3392, allocations: 1.243 MB / 1.18 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3393, allocations: 29.7 kB / 1.18 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.3397, allocations: 444.6 kB / 1.18 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.806e-05/0.3398, allocations: 67.44 kB / 1.18 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.3399, allocations: 61.64 kB / 1.18 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.34, allocations: 310 kB / 1.181 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.3404, allocations: 147.9 kB / 1.181 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.3408, allocations: 206.9 kB / 1.181 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006769/0.3415, allocations: 282.5 kB / 1.181 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3415, allocations: 4 kB / 1.181 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000925/0.3424, allocations: 464.9 kB / 1.182 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3424, allocations: 4 kB / 1.182 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.3425, allocations: 11.88 kB / 1.182 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3425, allocations: 0 / 1.182 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.3428, allocations: 63.89 kB / 1.182 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3428, allocations: 8 kB / 1.182 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.3431, allocations: 35.77 kB / 1.182 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.337e-05/0.3431, allocations: 8 kB / 1.182 GB, free: 6.945 MB / 0.9356 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.0003212/0.3435, allocations: 273.7 kB / 1.182 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.3436, allocations: 87.39 kB / 1.182 GB, free: 6.582 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008718/0.3445, allocations: 329.7 kB / 1.182 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3445, allocations: 4 kB / 1.182 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3445, allocations: 4 kB / 1.182 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3445, allocations: 0 / 1.182 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.3462, allocations: 1.007 MB / 1.183 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3462, allocations: 0 / 1.183 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002707/0.3465, allocations: 52.08 kB / 1.183 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3465, allocations: 4 kB / 1.183 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.3466, allocations: 11.98 kB / 1.184 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3466, allocations: 0 / 1.184 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.3466, allocations: 11.88 kB / 1.184 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008199/0.3474, allocations: 438.3 kB / 1.184 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.3477, allocations: 216.4 kB / 1.184 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/0.3478, allocations: 4 kB / 1.184 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.3481, allocations: 15.98 kB / 1.184 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.283e-05/0.3481, allocations: 31.84 kB / 1.184 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.3482, allocations: 4 kB / 1.184 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00114/0.3493, allocations: 0.9028 MB / 1.185 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3493, allocations: 0 / 1.185 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004175/0.3497, allocations: 107.8 kB / 1.185 GB, free: 3.32 MB / 0.9356 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.001244/0.351, allocations: 0.9938 MB / 1.186 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007631/0.3518, allocations: 284 kB / 1.186 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3518, allocations: 0 / 1.186 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.3521, allocations: 108.2 kB / 1.187 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.3526, allocations: 63.44 kB / 1.187 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/0.363, allocations: 7.245 MB / 1.194 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.3638, allocations: 0.9998 MB / 1.195 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003203/0.3641, allocations: 104.6 kB / 1.195 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003937/0.3645, allocations: 295.3 kB / 1.195 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of SimCode: time 5.01e-07/0.3645, allocations: 0 / 1.195 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03893/0.4034, allocations: 13.7 MB / 1.208 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.274/9.677, allocations: 4 kB / 1.208 GB, free: 11.49 MB / 0.9669 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 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.csv","/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