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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_latest_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.001596/0.001596, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001969/0.001969, allocations: 191.2 kB / 16.25 MB, free: 6.633 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.533/1.533, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.504/2.504, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 71.7 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2971, allocations: 157.4 MB / 1.052 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004295/0.3014, allocations: 2.781 MB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.3031, allocations: 1.069 MB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.3034, allocations: 4 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.304, allocations: 203.1 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002302/0.3043, allocations: 59.56 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.3047, allocations: 159.8 kB / 1.057 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004782/0.3052, allocations: 403.8 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.3056, allocations: 209.8 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.3058, allocations: 155.2 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.306, allocations: 179 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.501e-05/0.3061, allocations: 40 kB / 1.058 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003317/0.3064, allocations: 187.8 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.3066, allocations: 251.2 kB / 1.058 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002953/0.3069, allocations: 357.5 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0009156/0.3079, allocations: 0.9379 MB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3079, allocations: 0 / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3079, allocations: 4 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.637e-05/0.3079, allocations: 0 / 1.059 GB, free: 1.684 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.001621/0.3095, allocations: 1.127 MB / 1.06 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3096, allocations: 12.62 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.082e-05/0.3097, allocations: 66.72 kB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.311, allocations: 235.5 kB / 1.061 GB, free: 188 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.3123, allocations: 0.715 MB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.3124, allocations: 29.03 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.826e-05/0.3125, allocations: 32.31 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008156/0.3133, allocations: 382.3 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3133, allocations: 3.938 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.3133, allocations: 19.97 kB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.3134, allocations: 12 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009739/0.3143, allocations: 418.4 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/0.3174, allocations: 1.791 MB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000641/0.318, allocations: 218.5 kB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.3184, allocations: 104.8 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.3184, allocations: 4 kB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.3184, allocations: 38.52 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.843e-06/0.3184, allocations: 0 / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.001042/0.3195, allocations: 374.1 kB / 1.065 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.3195, allocations: 59.36 kB / 1.065 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.321, allocations: 1.239 MB / 1.066 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.321, allocations: 37.64 kB / 1.066 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.3213, allocations: 428.1 kB / 1.066 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.353e-05/0.3214, allocations: 67.31 kB / 1.066 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/0.3215, allocations: 57.69 kB / 1.066 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.3216, allocations: 314 kB / 1.067 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000334/0.322, allocations: 151.9 kB / 1.067 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.3223, allocations: 198.4 kB / 1.067 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006282/0.323, allocations: 283 kB / 1.067 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.323, allocations: 0 / 1.067 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008878/0.3239, allocations: 467.2 kB / 1.068 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3239, allocations: 4 kB / 1.068 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3239, allocations: 7.938 kB / 1.068 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3239, allocations: 4 kB / 1.068 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.3242, allocations: 55.89 kB / 1.068 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.3243, allocations: 4 kB / 1.068 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/0.3246, allocations: 39.67 kB / 1.068 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.3246, allocations: 15.98 kB / 1.068 GB, free: 8.406 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.0002817/0.3249, allocations: 265.7 kB / 1.068 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.325, allocations: 82.88 kB / 1.068 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008278/0.3258, allocations: 335.2 kB / 1.069 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3258, allocations: 0 / 1.069 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3258, allocations: 0 / 1.069 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3258, allocations: 0 / 1.069 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/0.3274, allocations: 1.011 MB / 1.07 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3275, allocations: 0 / 1.07 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.3277, allocations: 43.91 kB / 1.07 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3277, allocations: 4 kB / 1.07 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.3278, allocations: 20.11 kB / 1.07 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3278, allocations: 0 / 1.07 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3278, allocations: 7.938 kB / 1.07 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007472/0.3285, allocations: 431.7 kB / 1.07 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.3288, allocations: 207.9 kB / 1.07 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-05/0.3289, allocations: 8 kB / 1.07 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.3292, allocations: 19.98 kB / 1.07 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.3292, allocations: 23.84 kB / 1.07 GB, free: 5.836 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.3293, allocations: 12 kB / 1.07 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001031/0.3303, allocations: 0.9067 MB / 1.071 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3303, allocations: 0 / 1.071 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004126/0.3307, allocations: 95.84 kB / 1.071 GB, free: 4.812 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.001103/0.3318, allocations: 0.9874 MB / 1.072 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007175/0.3325, allocations: 287.6 kB / 1.073 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3326, allocations: 0 / 1.073 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.3329, allocations: 112.5 kB / 1.073 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.3334, allocations: 71.41 kB / 1.073 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.3448, allocations: 7.8 MB / 1.08 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006877/0.3455, allocations: 1.003 MB / 1.081 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003696/0.3459, allocations: 96.66 kB / 1.081 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/0.3463, allocations: 299.3 kB / 1.082 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of SimCode: time 7.21e-07/0.3463, allocations: 3.938 kB / 1.082 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.242/3.589, allocations: 13.34 MB / 1.095 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/3.589, allocations: 224.5 kB / 1.095 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.738/6.327, allocations: 0 / 1.095 GB, free: 12.45 MB / 0.8575 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > 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