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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.008114/0.008113, allocations: 98.55 kB / 15.73 MB, free: 6.039 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.001914/0.001914, allocations: 193.6 kB / 16.67 MB, free: 5.965 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.881/2.881, allocations: 472.6 MB / 0.7453 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 60.12 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3642, allocations: 159.9 MB / 1.226 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004145/0.3684, allocations: 2.747 MB / 1.228 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001828/0.3703, allocations: 1.092 MB / 1.229 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.3704, allocations: 4 kB / 1.229 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.3711, allocations: 210.6 kB / 1.23 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.3713, allocations: 87.23 kB / 1.23 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.3718, allocations: 183.7 kB / 1.23 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004557/0.3723, allocations: 399.8 kB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003634/0.3726, allocations: 221.7 kB / 1.23 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.3728, allocations: 147.3 kB / 1.231 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.3731, allocations: 179 kB / 1.231 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.401e-05/0.3731, allocations: 40 kB / 1.231 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003687/0.3735, allocations: 171.8 kB / 1.231 GB, free: 3.691 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.3738, allocations: 259.2 kB / 1.231 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002882/0.3741, allocations: 361.5 kB / 1.232 GB, free: 3.082 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.3751, allocations: 0.9681 MB / 1.233 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3751, allocations: 0 / 1.233 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3751, allocations: 0 / 1.233 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.3752, allocations: 4 kB / 1.233 GB, free: 2.105 MB / 0.9825 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.001652/0.3768, allocations: 1.166 MB / 1.234 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.3769, allocations: 8.031 kB / 1.234 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.3781, allocations: 248 kB / 1.234 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/0.3795, allocations: 0.7276 MB / 1.235 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.3796, allocations: 25.03 kB / 1.235 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.803e-05/0.3796, allocations: 32.38 kB / 1.235 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008326/0.3804, allocations: 382.5 kB / 1.235 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.3805, allocations: 3.938 kB / 1.235 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.3805, allocations: 11.94 kB / 1.235 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.3805, allocations: 8 kB / 1.235 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009421/0.3815, allocations: 418.4 kB / 1.235 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003068/0.3846, allocations: 1.791 MB / 1.237 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006429/0.3852, allocations: 214.6 kB / 1.237 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.3855, allocations: 96.81 kB / 1.237 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.3856, allocations: 8 kB / 1.237 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.3856, allocations: 38.5 kB / 1.238 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.3856, allocations: 0 / 1.238 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001086/0.3867, allocations: 378.4 kB / 1.238 GB, free: 12.35 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.3868, allocations: 59.41 kB / 1.238 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.3881, allocations: 1.239 MB / 1.239 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.3882, allocations: 37.69 kB / 1.239 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/0.3885, allocations: 428.4 kB / 1.24 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.355e-05/0.3886, allocations: 75.72 kB / 1.24 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.536e-05/0.3887, allocations: 53.66 kB / 1.24 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.3888, allocations: 318 kB / 1.24 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.3892, allocations: 147.9 kB / 1.24 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.3895, allocations: 206.4 kB / 1.24 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/0.3902, allocations: 275.3 kB / 1.241 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3902, allocations: 0 / 1.241 GB, free: 9.453 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008797/0.3911, allocations: 472.7 kB / 1.241 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.3911, allocations: 12.16 kB / 1.241 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3911, allocations: 0 / 1.241 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.3911, allocations: 7.938 kB / 1.241 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.3915, allocations: 51.91 kB / 1.241 GB, free: 8.914 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.3915, allocations: 4 kB / 1.241 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002755/0.3918, allocations: 39.75 kB / 1.241 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.3918, allocations: 16 kB / 1.241 GB, free: 8.855 MB / 0.9981 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.0003272/0.3921, allocations: 274.2 kB / 1.241 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3923, allocations: 87.44 kB / 1.242 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008299/0.3931, allocations: 327.2 kB / 1.242 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.3931, allocations: 0 / 1.242 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.3931, allocations: 7.938 kB / 1.242 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3931, allocations: 3.984 kB / 1.242 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.3948, allocations: 0.9978 MB / 1.243 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3948, allocations: 0 / 1.243 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.395, allocations: 47.89 kB / 1.243 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.395, allocations: 4 kB / 1.243 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/0.3951, allocations: 8 kB / 1.243 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3951, allocations: 4 kB / 1.243 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3951, allocations: 4.125 kB / 1.243 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007454/0.3958, allocations: 440.1 kB / 1.243 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.3961, allocations: 208.5 kB / 1.244 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.851e-05/0.3961, allocations: 12 kB / 1.244 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.3964, allocations: 15.97 kB / 1.244 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.346e-05/0.3965, allocations: 19.92 kB / 1.244 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.3965, allocations: 8 kB / 1.244 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001/0.3975, allocations: 0.9067 MB / 1.244 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.683e-06/0.3975, allocations: 0 / 1.244 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004354/0.398, allocations: 107.7 kB / 1.245 GB, free: 5.254 MB / 0.9981 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.0002448/0.3982, allocations: 123.2 kB / 1.245 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000708/0.3989, allocations: 281.3 kB / 1.245 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.399, allocations: 0 / 1.245 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000343/0.3993, allocations: 108.5 kB / 1.245 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.3998, allocations: 65.16 kB / 1.245 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.4021, allocations: 1.39 MB / 1.246 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006184/0.4028, allocations: 0.9919 MB / 1.247 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003108/0.4031, allocations: 100.6 kB / 1.248 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.4033, allocations: 51.42 kB / 1.248 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of SimCode: time 3.41e-07/0.4033, allocations: 0 / 1.248 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of Templates: time 0.7759/1.179, allocations: 5.581 MB / 1.253 GB, free: 26.14 MB / 0.9981 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/jenkins/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