Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",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.007646/0.007646, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001827/0.001827, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.112/2.112, allocations: 390.3 MB / 0.6648 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 79.88 kB / 0.9504 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8476/0.849, allocations: 140.4 MB / 1.087 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001736/0.8508, allocations: 0.5972 MB / 1.088 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002302/0.8531, allocations: 1.718 MB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.999e-05/0.8532, allocations: 1.156 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.8532, allocations: 8.812 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.44e-05/0.8533, allocations: 3.938 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.8543, allocations: 306 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002109/0.8546, allocations: 130.9 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.8546, allocations: 2.984 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.512e-05/0.8547, allocations: 47.48 kB / 1.09 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.8548, allocations: 55.53 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.8549, allocations: 5.469 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000589/0.8555, allocations: 344.8 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.279e-05/0.8555, allocations: 40.14 kB / 1.091 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.8556, allocations: 46.67 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.8561, allocations: 270 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.8561, allocations: 0.7812 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8561, allocations: 0 / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.8561, allocations: 0.75 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006325/0.8567, allocations: 448.8 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.8568, allocations: 10.22 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.8568, allocations: 46.25 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.8569, allocations: 10.36 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.31e-05/0.857, allocations: 179.8 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.857, allocations: 9.156 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.857, allocations: 12.25 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.8574, allocations: 221.6 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.8574, allocations: 1.344 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.8574, allocations: 5.547 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.8575, allocations: 3.781 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.8578, allocations: 183 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.8581, allocations: 287.2 kB / 1.092 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007309/0.8588, allocations: 407.8 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.8591, allocations: 180.8 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003725/0.8595, allocations: 197.8 kB / 1.093 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.8595, allocations: 47.48 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.8595, allocations: 0 / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0007462/0.8603, allocations: 382 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.8603, allocations: 193.2 kB / 1.094 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.986e-05/0.8604, allocations: 91.84 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.8604, allocations: 31.23 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.538e-05/0.8604, allocations: 84.7 kB / 1.094 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.436e-05/0.8605, allocations: 100 kB / 1.094 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.232e-05/0.8606, allocations: 56.39 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.691e-05/0.8607, allocations: 325.9 kB / 1.094 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.8608, allocations: 88.22 kB / 1.094 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.861, allocations: 141 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.8615, allocations: 260.8 kB / 1.095 GB, free: 344 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8615, allocations: 0 / 1.095 GB, free: 344 kB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005057/0.862, allocations: 286.8 kB / 1.095 GB, free: 236 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.862, allocations: 9.422 kB / 1.095 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.862, allocations: 1.688 kB / 1.095 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.8621, allocations: 3.281 kB / 1.095 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.8623, allocations: 56.16 kB / 1.095 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.8623, allocations: 7.141 kB / 1.095 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.228e-05/0.8624, allocations: 20.59 kB / 1.095 GB, free: 212 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.8625, allocations: 19.5 kB / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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.0001052/0.8626, allocations: 138.6 kB / 1.095 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.8626, allocations: 10.39 kB / 1.095 GB, free: 68 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007141/0.8633, allocations: 358.4 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.8634, allocations: 5 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.8634, allocations: 5.594 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.8634, allocations: 3.391 kB / 1.096 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.8637, allocations: 262.2 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.8637, allocations: 1.188 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.864, allocations: 55.69 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.864, allocations: 7.359 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.864, allocations: 11.17 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.864, allocations: 2.875 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.864, allocations: 1.906 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005495/0.8646, allocations: 353.5 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.8647, allocations: 118.2 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/0.8648, allocations: 4.016 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.8649, allocations: 6.156 kB / 1.096 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.944e-05/0.8649, allocations: 31.7 kB / 1.096 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.865, allocations: 16.06 kB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.865, allocations: 76.34 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.865, allocations: 0 / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005659/0.8656, allocations: 93.38 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (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 Backend phase and start with SimCode phase: time 0.001369/0.867, allocations: 0.9804 MB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005365/0.8675, allocations: 253.6 kB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8675, allocations: 0.7188 kB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.8678, allocations: 140.8 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.868, allocations: 21 kB / 1.098 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009704/0.869, allocations: 433.1 kB / 1.098 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.8693, allocations: 0.7196 MB / 1.099 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002628/0.8696, allocations: 109.6 kB / 1.099 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.26e-05/0.8697, allocations: 40.48 kB / 1.099 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of SimCode: time 5.72e-07/0.8697, allocations: 4.875 kB / 1.099 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02463/0.8943, allocations: 4.143 MB / 1.103 GB, free: 12.85 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/8.249, allocations: 12.09 kB / 1.103 GB, free: 12.84 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches