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: "" <> 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.0008815/0.0008815, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005225/0.005225, allocations: 169.4 kB / 16.26 MB, free: 6.332 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.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.369/2.369, allocations: 437.8 MB / 0.7121 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.000382, allocations: 16 kB / 0.873 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5914/0.5918, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.002629/0.5945, allocations: 2.401 MB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.5959, allocations: 1.062 MB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.596, allocations: 4 kB / 1.027 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004761/0.5965, allocations: 197.1 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001382/0.5967, allocations: 71.55 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.597, allocations: 147.8 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003206/0.5973, allocations: 379.7 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002713/0.5976, allocations: 193.8 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.5977, allocations: 111.2 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.5979, allocations: 147.1 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.5979, allocations: 12 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.5982, allocations: 143.8 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.5983, allocations: 227.2 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.5986, allocations: 331.3 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006638/0.5992, allocations: 0.8986 MB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5992, allocations: 0 / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5993, allocations: 0 / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.5993, allocations: 0 / 1.029 GB, free: 9.48 MB / 0.7794 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.001122/0.6004, allocations: 1.003 MB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.6004, allocations: 8.031 kB / 1.03 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.839e-05/0.6005, allocations: 66.72 kB / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/0.6018, allocations: 267.5 kB / 1.031 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.603, allocations: 0.7461 MB / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.603, allocations: 21.03 kB / 1.031 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.6031, allocations: 32.38 kB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007499/0.6038, allocations: 394.3 kB / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.6038, allocations: 0 / 1.032 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.6039, allocations: 12 kB / 1.032 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.6039, allocations: 12 kB / 1.032 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009722/0.6049, allocations: 434.4 kB / 1.032 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003216/0.6081, allocations: 2.126 MB / 1.034 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/0.6087, allocations: 218.6 kB / 1.034 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.609, allocations: 96.81 kB / 1.035 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.609, allocations: 12.28 kB / 1.035 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.6091, allocations: 34.56 kB / 1.035 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.6091, allocations: 3.938 kB / 1.035 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.00101/0.6101, allocations: 374.1 kB / 1.035 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.6101, allocations: 55.41 kB / 1.035 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.6114, allocations: 1.243 MB / 1.036 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.6115, allocations: 29.7 kB / 1.036 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.6118, allocations: 436.1 kB / 1.037 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.6118, allocations: 63.02 kB / 1.037 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.6119, allocations: 25.7 kB / 1.037 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.612, allocations: 318 kB / 1.037 GB, free: 1.207 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.6123, allocations: 147.9 kB / 1.037 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00036/0.6127, allocations: 209.7 kB / 1.037 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/0.6133, allocations: 279.4 kB / 1.038 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6133, allocations: 0 / 1.038 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000832/0.6142, allocations: 464.3 kB / 1.038 GB, free: 88 kB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.6142, allocations: 10.19 kB / 1.038 GB, free: 80 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6142, allocations: 3.938 kB / 1.038 GB, free: 76 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.6142, allocations: 7.984 kB / 1.038 GB, free: 68 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.6145, allocations: 59.91 kB / 1.038 GB, free: 8 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.6145, allocations: 0 / 1.038 GB, free: 8 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.6148, allocations: 35.73 kB / 1.038 GB, free: 15.97 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.6148, allocations: 11.98 kB / 1.038 GB, free: 15.96 MB / 0.795 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.0002728/0.6151, allocations: 274.1 kB / 1.038 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.936e-05/0.6152, allocations: 90.81 kB / 1.039 GB, free: 15.59 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008008/0.616, allocations: 321.8 kB / 1.039 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.616, allocations: 4 kB / 1.039 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6161, allocations: 0 / 1.039 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.6161, allocations: 0 / 1.039 GB, free: 15.27 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.6176, allocations: 1.007 MB / 1.04 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.6176, allocations: 4 kB / 1.04 GB, free: 14.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000249/0.6179, allocations: 47.91 kB / 1.04 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6179, allocations: 0 / 1.04 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.6179, allocations: 8.141 kB / 1.04 GB, free: 14.12 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.6179, allocations: 8 kB / 1.04 GB, free: 14.12 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6179, allocations: 0 / 1.04 GB, free: 14.12 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007229/0.6187, allocations: 436.9 kB / 1.04 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.6189, allocations: 211.9 kB / 1.041 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.6189, allocations: 4 kB / 1.041 GB, free: 13.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.6192, allocations: 27.97 kB / 1.041 GB, free: 13.4 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.6193, allocations: 19.92 kB / 1.041 GB, free: 13.38 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.6193, allocations: 4 kB / 1.041 GB, free: 13.38 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009496/0.6202, allocations: 0.9028 MB / 1.041 GB, free: 12.46 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6203, allocations: 4 kB / 1.041 GB, free: 12.46 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003808/0.6206, allocations: 107.8 kB / 1.042 GB, free: 12.35 MB / 0.795 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.00106/0.6217, allocations: 0.9874 MB / 1.043 GB, free: 11.32 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006851/0.6224, allocations: 273.2 kB / 1.043 GB, free: 11.05 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6224, allocations: 0 / 1.043 GB, free: 11.05 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.6227, allocations: 104.4 kB / 1.043 GB, free: 10.95 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005985/0.6233, allocations: 75.48 kB / 1.043 GB, free: 10.88 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.6336, allocations: 7.85 MB / 1.051 GB, free: 2.766 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005124/0.6341, allocations: 0.9919 MB / 1.052 GB, free: 1.75 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003175/0.6344, allocations: 100.7 kB / 1.052 GB, free: 1.652 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.6347, allocations: 291.3 kB / 1.052 GB, free: 1.371 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.6348, allocations: 0 / 1.052 GB, free: 1.371 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.6606, allocations: 13.09 MB / 1.065 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/0.6609, allocations: 220 kB / 1.065 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.465, allocations: 4.062 kB / 1.065 GB, free: 4.258 MB / 0.8106 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 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.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