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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.007669/0.007669, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001894/0.001894, allocations: 191.9 kB / 16.79 MB, free: 5.809 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.414/1.414, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.673/2.673, allocations: 461.8 MB / 0.7348 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001224, allocations: 66.3 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2905, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004027/0.2946, allocations: 2.777 MB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001551/0.2962, allocations: 1.081 MB / 1.057 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.2964, allocations: 7.938 kB / 1.057 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005407/0.2969, allocations: 195.2 kB / 1.057 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.2971, allocations: 59.56 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.2974, allocations: 155.8 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003327/0.2978, allocations: 383.8 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000292/0.2981, allocations: 201.8 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.2982, allocations: 127.3 kB / 1.058 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.2984, allocations: 183 kB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.754e-05/0.2985, allocations: 24 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.2988, allocations: 155.8 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.299, allocations: 247.2 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.2992, allocations: 329.6 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005908/0.2998, allocations: 0.7365 MB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2998, allocations: 4 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.31e-07/0.2998, allocations: 0 / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.2998, allocations: 0 / 1.059 GB, free: 1.605 MB / 0.8106 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.001359/0.3012, allocations: 1.123 MB / 1.06 GB, free: 436 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3012, allocations: 15.97 kB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.3026, allocations: 231.4 kB / 1.061 GB, free: 188 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.3039, allocations: 0.7306 MB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.013e-05/0.3039, allocations: 21.03 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.513e-05/0.304, allocations: 28.38 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009179/0.3049, allocations: 382.5 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.305, allocations: 11.88 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.894e-05/0.305, allocations: 16 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.305, allocations: 7.984 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.306, allocations: 418.4 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003431/0.3095, allocations: 1.779 MB / 1.064 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006421/0.3101, allocations: 218.6 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.3104, allocations: 104.8 kB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.3105, allocations: 7.938 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.3105, allocations: 38.52 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 2.224e-06/0.3105, allocations: 0 / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.001061/0.3116, allocations: 374.1 kB / 1.065 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.3116, allocations: 55.36 kB / 1.065 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.313, allocations: 1.25 MB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.3131, allocations: 29.7 kB / 1.066 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003306/0.3134, allocations: 432.1 kB / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.3135, allocations: 67.31 kB / 1.066 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-05/0.3136, allocations: 53.62 kB / 1.066 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.487e-05/0.3137, allocations: 322 kB / 1.067 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/0.314, allocations: 143.9 kB / 1.067 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.3144, allocations: 201.9 kB / 1.067 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00063/0.3151, allocations: 279.9 kB / 1.067 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3151, allocations: 0 / 1.067 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008853/0.316, allocations: 464.3 kB / 1.068 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.316, allocations: 5.875 kB / 1.068 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.316, allocations: 0 / 1.068 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.316, allocations: 7.938 kB / 1.068 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003413/0.3164, allocations: 63.89 kB / 1.068 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.3164, allocations: 3.984 kB / 1.068 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002858/0.3167, allocations: 39.67 kB / 1.068 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.3167, allocations: 11.98 kB / 1.068 GB, free: 8.414 MB / 0.8262 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.0003921/0.3171, allocations: 265.7 kB / 1.068 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.3173, allocations: 86.88 kB / 1.068 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.3186, allocations: 327.5 kB / 1.069 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.3186, allocations: 4 kB / 1.069 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3187, allocations: 0 / 1.069 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.3187, allocations: 4 kB / 1.069 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.3211, allocations: 1.002 MB / 1.069 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.3211, allocations: 7.938 kB / 1.069 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.3215, allocations: 48.16 kB / 1.07 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.3215, allocations: 0 / 1.07 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.3216, allocations: 7.984 kB / 1.07 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.3216, allocations: 4 kB / 1.07 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3216, allocations: 7.875 kB / 1.07 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.3227, allocations: 435.7 kB / 1.07 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.323, allocations: 203.9 kB / 1.07 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-05/0.3231, allocations: 8 kB / 1.07 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.3235, allocations: 19.98 kB / 1.07 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.317e-05/0.3236, allocations: 35.84 kB / 1.07 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.3236, allocations: 4 kB / 1.07 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001487/0.3251, allocations: 0.9028 MB / 1.071 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3251, allocations: 0 / 1.071 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006672/0.3258, allocations: 99.84 kB / 1.071 GB, free: 4.82 MB / 0.8262 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.0002688/0.3261, allocations: 121.3 kB / 1.071 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.3272, allocations: 277.6 kB / 1.072 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3272, allocations: 0 / 1.072 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.00047/0.3277, allocations: 104.2 kB / 1.072 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008561/0.3285, allocations: 75.34 kB / 1.072 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.3323, allocations: 1.668 MB / 1.073 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008254/0.3331, allocations: 0.9996 MB / 1.074 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.3334, allocations: 47.42 kB / 1.074 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of SimCode: time 2.434e-06/0.3334, allocations: 0 / 1.074 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of Templates: time 0.01574/0.3492, allocations: 8.933 MB / 1.083 GB, free: 8.543 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