Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",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.001908/0.001908, 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.002106/0.002106, allocations: 193.1 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.426/1.426, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.56/2.56, allocations: 482.4 MB / 0.7544 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 68.72 kB / 0.9235 GB, free: 29.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2399, allocations: 162.2 MB / 1.082 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002813/0.2427, allocations: 2.116 MB / 1.084 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001796/0.2445, allocations: 1.364 MB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.2446, allocations: 4 kB / 1.085 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.2451, allocations: 255.2 kB / 1.086 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0007197/0.2459, allocations: 395.2 kB / 1.086 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.961e-06/0.2459, allocations: 0 / 1.086 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000361/0.2462, allocations: 402.5 kB / 1.086 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.2463, allocations: 28.31 kB / 1.086 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.2464, allocations: 139.4 kB / 1.086 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.2467, allocations: 251 kB / 1.087 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.2467, allocations: 24 kB / 1.087 GB, free: 8.57 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003672/0.2471, allocations: 267.7 kB / 1.087 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002878/0.2474, allocations: 382.9 kB / 1.087 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000316/0.2477, allocations: 409.7 kB / 1.088 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009374/0.2487, allocations: 1.145 MB / 1.089 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2487, allocations: 0 / 1.089 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2487, allocations: 0 / 1.089 GB, free: 6.383 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.2487, allocations: 0 / 1.089 GB, free: 6.383 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001419/0.2501, allocations: 1.224 MB / 1.09 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.2501, allocations: 8.031 kB / 1.09 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.49e-05/0.2502, allocations: 42.75 kB / 1.09 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005763/0.2508, allocations: 151.7 kB / 1.09 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003687/0.2545, allocations: 4.257 MB / 1.094 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.2545, allocations: 16.31 kB / 1.094 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.2545, allocations: 12.38 kB / 1.094 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007607/0.2553, allocations: 0.6341 MB / 1.095 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2553, allocations: 4 kB / 1.095 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.2553, allocations: 8 kB / 1.095 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2554, allocations: 4 kB / 1.095 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.2566, allocations: 1.109 MB / 1.096 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003187/0.2598, allocations: 3.151 MB / 1.099 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006756/0.2605, allocations: 352.5 kB / 1.1 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003408/0.2608, allocations: 232.7 kB / 1.1 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.639e-05/0.2609, allocations: 27.91 kB / 1.1 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.2609, allocations: 34.56 kB / 1.1 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=19): time 1.193e-06/0.2609, allocations: 3.938 kB / 1.1 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19): time 0.00114/0.262, allocations: 0.7154 MB / 1.101 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.2621, allocations: 55.41 kB / 1.101 GB, free: 10.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00672/0.2688, allocations: 6.489 MB / 1.107 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.2689, allocations: 33.7 kB / 1.107 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.2692, allocations: 412.2 kB / 1.107 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.2692, allocations: 67.09 kB / 1.107 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.2694, allocations: 65.59 kB / 1.107 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2695, allocations: 318 kB / 1.108 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005851/0.2701, allocations: 0.5232 MB / 1.108 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.2707, allocations: 0.5575 MB / 1.109 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000904/0.2716, allocations: 0.7757 MB / 1.11 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2716, allocations: 0 / 1.11 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001407/0.273, allocations: 1.231 MB / 1.111 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.273, allocations: 5.562 kB / 1.111 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.2731, allocations: 4 kB / 1.111 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.2731, allocations: 0 / 1.111 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.2734, allocations: 63.94 kB / 1.111 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.2734, allocations: 7.938 kB / 1.111 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.2737, allocations: 39.73 kB / 1.111 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.2738, allocations: 8 kB / 1.111 GB, free: 15.5 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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.0002869/0.2741, allocations: 289.7 kB / 1.111 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.2742, allocations: 90.81 kB / 1.111 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008615/0.2751, allocations: 0.5585 MB / 1.112 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2751, allocations: 4 kB / 1.112 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2751, allocations: 4 kB / 1.112 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2751, allocations: 0 / 1.112 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003016/0.2781, allocations: 2.822 MB / 1.115 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.2781, allocations: 4 kB / 1.115 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.2784, allocations: 51.89 kB / 1.115 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.2784, allocations: 4 kB / 1.115 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.2784, allocations: 12 kB / 1.115 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.2784, allocations: 4.438 kB / 1.115 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/0.2785, allocations: 15.94 kB / 1.115 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008868/0.2793, allocations: 0.6697 MB / 1.115 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.2796, allocations: 259.8 kB / 1.116 GB, free: 10.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.2797, allocations: 11.98 kB / 1.116 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003513/0.2801, allocations: 31.98 kB / 1.116 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.2801, allocations: 27.8 kB / 1.116 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.2802, allocations: 12 kB / 1.116 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.004523/0.2847, allocations: 5.157 MB / 1.121 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2847, allocations: 0 / 1.121 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005205/0.2852, allocations: 192 kB / 1.121 GB, free: 5.066 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.001341/0.2866, allocations: 1.29 MB / 1.122 GB, free: 3.688 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009742/0.2876, allocations: 0.7847 MB / 1.123 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2876, allocations: 0 / 1.123 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.2879, allocations: 232.3 kB / 1.123 GB, free: 2.676 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/0.2887, allocations: 192.7 kB / 1.123 GB, free: 2.488 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02405/0.3127, allocations: 23.48 MB / 1.146 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.3134, allocations: 0.9992 MB / 1.147 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0003308/0.3137, allocations: 145.4 kB / 1.147 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.3141, allocations: 295.3 kB / 1.148 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.3141, allocations: 0 / 1.148 GB, free: 9.219 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4586/0.7727, allocations: 23.26 MB / 1.17 GB, free: 2.258 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003198/0.7731, allocations: 223.9 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/3.878, allocations: 0 / 1.171 GB, free: 2.004 MB / 0.92 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches