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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001636/0.001636, allocations: 109.2 kB / 16.37 MB, free: 6.012 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.001762/0.001762, allocations: 195 kB / 17.31 MB, free: 5.617 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.456/2.456, allocations: 437.1 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.34 kB / 0.8707 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3103, allocations: 151.7 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003681/0.314, allocations: 2.744 MB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.3155, allocations: 1.085 MB / 1.023 GB, free: 6.027 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001707/0.3157, allocations: 4 kB / 1.023 GB, free: 6.023 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005272/0.3163, allocations: 206.7 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001475/0.3165, allocations: 87.22 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.3169, allocations: 183.7 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003593/0.3172, allocations: 399.8 kB / 1.023 GB, free: 5.164 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.3175, allocations: 217.8 kB / 1.024 GB, free: 4.949 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.3177, allocations: 155.3 kB / 1.024 GB, free: 4.797 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001721/0.3179, allocations: 175 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.258e-05/0.318, allocations: 40 kB / 1.024 GB, free: 4.586 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.3183, allocations: 171.8 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001978/0.3185, allocations: 279.1 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.3187, allocations: 341.7 kB / 1.025 GB, free: 3.809 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008354/0.3196, allocations: 0.965 MB / 1.026 GB, free: 2.84 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3196, allocations: 0 / 1.026 GB, free: 2.84 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3196, allocations: 0 / 1.026 GB, free: 2.84 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.3196, allocations: 4 kB / 1.026 GB, free: 2.836 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.001503/0.3211, allocations: 1.115 MB / 1.027 GB, free: 1.664 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3212, allocations: 16.91 kB / 1.027 GB, free: 1.648 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.3224, allocations: 235.4 kB / 1.027 GB, free: 1.418 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001296/0.3237, allocations: 0.7266 MB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.3238, allocations: 29.03 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.577e-05/0.3238, allocations: 28.38 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007531/0.3246, allocations: 378.5 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3246, allocations: 3.938 kB / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.3247, allocations: 15.98 kB / 1.028 GB, free: 188 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.3247, allocations: 12 kB / 1.028 GB, free: 176 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009746/0.3257, allocations: 430.3 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.3285, allocations: 1.756 MB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007121/0.3293, allocations: 218.6 kB / 1.03 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.3295, allocations: 100.8 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.851e-05/0.3296, allocations: 15.92 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.3296, allocations: 34.56 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.3296, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.001013/0.3307, allocations: 374 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.3307, allocations: 59.39 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/0.3321, allocations: 1.243 MB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.3321, allocations: 33.7 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003449/0.3325, allocations: 424.2 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.3325, allocations: 67 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.3326, allocations: 53.7 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3328, allocations: 318 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.3331, allocations: 143.9 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.3335, allocations: 215 kB / 1.033 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006157/0.3341, allocations: 295.1 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3341, allocations: 0 / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008657/0.335, allocations: 462.8 kB / 1.034 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.335, allocations: 8 kB / 1.034 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.335, allocations: 0 / 1.034 GB, free: 9.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.335, allocations: 7.938 kB / 1.034 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.3354, allocations: 59.89 kB / 1.034 GB, free: 9.707 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3354, allocations: 4 kB / 1.034 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.3357, allocations: 35.67 kB / 1.034 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.3357, allocations: 12 kB / 1.034 GB, free: 9.656 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.0002864/0.336, allocations: 273.7 kB / 1.035 GB, free: 9.379 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.3361, allocations: 90.86 kB / 1.035 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008014/0.3369, allocations: 327.5 kB / 1.035 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3369, allocations: 0 / 1.035 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.337, allocations: 8 kB / 1.035 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.337, allocations: 4 kB / 1.035 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.3387, allocations: 0.9969 MB / 1.036 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3387, allocations: 0 / 1.036 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002715/0.339, allocations: 52.09 kB / 1.036 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.339, allocations: 4 kB / 1.036 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.339, allocations: 4 kB / 1.036 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.339, allocations: 7.984 kB / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.339, allocations: 0 / 1.036 GB, free: 7.812 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007177/0.3398, allocations: 439.6 kB / 1.036 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.3401, allocations: 207.9 kB / 1.037 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.176e-05/0.3401, allocations: 11.94 kB / 1.037 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.3404, allocations: 15.98 kB / 1.037 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.216e-05/0.3405, allocations: 23.86 kB / 1.037 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.3405, allocations: 15.98 kB / 1.037 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009956/0.3415, allocations: 0.9028 MB / 1.038 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3415, allocations: 0 / 1.038 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004544/0.342, allocations: 99.84 kB / 1.038 GB, free: 6.047 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.0001939/0.3422, allocations: 111.2 kB / 1.038 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006991/0.3429, allocations: 285.7 kB / 1.038 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3429, allocations: 0 / 1.038 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.3432, allocations: 113.6 kB / 1.038 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.3437, allocations: 67.42 kB / 1.038 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.3459, allocations: 1.368 MB / 1.04 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.3464, allocations: 0.9995 MB / 1.041 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002882/0.3467, allocations: 100.7 kB / 1.041 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.3469, allocations: 39.44 kB / 1.041 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.3469, allocations: 0 / 1.041 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of Templates: time 0.01118/0.3581, allocations: 5.505 MB / 1.046 GB, free: 13.41 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=480 -s gbode -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