Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.EnergyConversionNormal,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",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.001685/0.001685, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.632/2.632, allocations: 461.9 MB / 0.7346 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.84 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2358, allocations: 157.4 MB / 1.053 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003293/0.2391, allocations: 2.261 MB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.2404, allocations: 0.9479 MB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.2406, allocations: 4 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005096/0.2411, allocations: 191.1 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.2412, allocations: 71.5 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.2416, allocations: 107.7 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.2418, allocations: 227 kB / 1.057 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.242, allocations: 89.67 kB / 1.057 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.2421, allocations: 83.53 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.2422, allocations: 107.4 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.2423, allocations: 16 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002782/0.2425, allocations: 151.8 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.2427, allocations: 215.3 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.2429, allocations: 262.1 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005975/0.2435, allocations: 0.712 MB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2435, allocations: 0 / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2435, allocations: 0 / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.2436, allocations: 0 / 1.058 GB, free: 2.766 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001108/0.2447, allocations: 0.9708 MB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2447, allocations: 12.62 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.2448, allocations: 46.73 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005205/0.2453, allocations: 119.8 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006873/0.246, allocations: 0.5934 MB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.246, allocations: 8.375 kB / 1.06 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.246, allocations: 12.38 kB / 1.06 GB, free: 0.9023 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.2464, allocations: 198.7 kB / 1.06 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2464, allocations: 3.938 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.2465, allocations: 11.98 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.2465, allocations: 4 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004472/0.2469, allocations: 224.6 kB / 1.06 GB, free: 476 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.248, allocations: 0.9139 MB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/0.2486, allocations: 318.5 kB / 1.062 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.2488, allocations: 108.8 kB / 1.062 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006804/0.2495, allocations: 241 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.2496, allocations: 38.56 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 3.336e-06/0.2496, allocations: 0 / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.000774/0.2504, allocations: 400.5 kB / 1.062 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.2504, allocations: 59.41 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.2515, allocations: 0.9935 MB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.2515, allocations: 29.7 kB / 1.063 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.2518, allocations: 347.9 kB / 1.064 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.2518, allocations: 31.62 kB / 1.064 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.2519, allocations: 29.61 kB / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.252, allocations: 310 kB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.2522, allocations: 99.95 kB / 1.064 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.2524, allocations: 118.5 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.2528, allocations: 214.8 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2528, allocations: 3.938 kB / 1.064 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005429/0.2534, allocations: 332.5 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2534, allocations: 5.719 kB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2534, allocations: 0 / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2534, allocations: 4 kB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.2536, allocations: 23.97 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2536, allocations: 4 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.2538, allocations: 8.062 kB / 1.065 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.2538, allocations: 11.98 kB / 1.065 GB, free: 11.71 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0002222/0.254, allocations: 247.2 kB / 1.065 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.539e-05/0.2541, allocations: 75 kB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006044/0.2547, allocations: 328.4 kB / 1.065 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.2547, allocations: 0 / 1.065 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2547, allocations: 0 / 1.065 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2547, allocations: 4 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.2552, allocations: 0.5361 MB / 1.066 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2553, allocations: 3.984 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.2554, allocations: 19.98 kB / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2554, allocations: 0 / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2554, allocations: 4 kB / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2554, allocations: 4 kB / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2554, allocations: 0 / 1.066 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.256, allocations: 410.6 kB / 1.066 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.2562, allocations: 176.1 kB / 1.067 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.252e-05/0.2563, allocations: 4.094 kB / 1.067 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.2564, allocations: 15.92 kB / 1.067 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.2565, allocations: 4 kB / 1.067 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.2565, allocations: 4 kB / 1.067 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000811/0.2573, allocations: 0.7176 MB / 1.067 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2573, allocations: 0 / 1.067 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003365/0.2577, allocations: 75.84 kB / 1.067 GB, free: 9.016 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.000857/0.2585, allocations: 0.9575 MB / 1.068 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000464/0.259, allocations: 223.9 kB / 1.068 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.259, allocations: 0 / 1.068 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.2592, allocations: 107.9 kB / 1.069 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.2596, allocations: 47.31 kB / 1.069 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007682/0.2673, allocations: 6.634 MB / 1.075 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.2678, allocations: 0.9486 MB / 1.076 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002131/0.268, allocations: 77.33 kB / 1.076 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.2683, allocations: 223.3 kB / 1.076 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.2683, allocations: 0 / 1.076 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4148/0.6831, allocations: 11.62 MB / 1.088 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.418/9.102, allocations: 0 / 1.088 GB, free: 4.184 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches