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.007038/0.007038, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001624/0.001624, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.024/2.024, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 63.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6639/0.6651, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001533/0.6666, allocations: 0.5865 MB / 1.088 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.6686, allocations: 1.72 MB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.6686, allocations: 0.9688 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.6687, allocations: 1.078 kB / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.045e-05/0.6687, allocations: 0 / 1.09 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008044/0.6695, allocations: 315.2 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.6697, allocations: 130.4 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.6697, allocations: 3.859 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.743e-05/0.6698, allocations: 51.7 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.6699, allocations: 56.28 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.6699, allocations: 4.156 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004673/0.6704, allocations: 344.2 kB / 1.091 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.6705, allocations: 38.97 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.033e-05/0.6705, allocations: 46.88 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003824/0.6709, allocations: 278.4 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.6709, allocations: 0 / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.165e-06/0.6709, allocations: 0.7188 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.671, allocations: 0 / 1.091 GB, free: 3.281 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.0005578/0.6715, allocations: 449.5 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.6716, allocations: 9.922 kB / 1.091 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.675e-05/0.6716, allocations: 50.73 kB / 1.091 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.6717, allocations: 9.656 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.875e-05/0.6717, allocations: 183.8 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.6717, allocations: 8.375 kB / 1.092 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.6718, allocations: 16.8 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.6721, allocations: 217.7 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.6721, allocations: 2.047 kB / 1.092 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.719e-05/0.6721, allocations: 4.969 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.6721, allocations: 4.406 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002733/0.6724, allocations: 179 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.6727, allocations: 283 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007008/0.6734, allocations: 411 kB / 1.093 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002331/0.6736, allocations: 177.1 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002718/0.6739, allocations: 205.7 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.6739, allocations: 39.02 kB / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=30): time 1.423e-06/0.6739, allocations: 0 / 1.093 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of matching and sorting (n=30): time 0.0006938/0.6746, allocations: 383 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.6747, allocations: 192.9 kB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.651e-05/0.6747, allocations: 91.39 kB / 1.094 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.6747, allocations: 32.38 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.195e-05/0.6747, allocations: 81.42 kB / 1.094 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.198e-05/0.6748, allocations: 99.23 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.338e-05/0.6749, allocations: 56.19 kB / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.516e-05/0.675, allocations: 325.5 kB / 1.094 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.6751, allocations: 92.88 kB / 1.094 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.6753, allocations: 137.8 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.6757, allocations: 254.9 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6757, allocations: 1.062 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004492/0.6761, allocations: 291 kB / 1.095 GB, free: 288 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.6762, allocations: 5.406 kB / 1.095 GB, free: 288 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.6762, allocations: 6.422 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.6762, allocations: 2.75 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.6764, allocations: 56.34 kB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.6764, allocations: 2.5 kB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.735e-05/0.6765, allocations: 20.86 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.591e-05/0.6766, allocations: 11.3 kB / 1.095 GB, free: 264 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 8.824e-05/0.6767, allocations: 150.7 kB / 1.095 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.6767, allocations: 10.81 kB / 1.095 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006491/0.6774, allocations: 375.4 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.6774, allocations: 4.312 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.6774, allocations: 2.281 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.6774, allocations: 3.406 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.6777, allocations: 257.9 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.6777, allocations: 1.219 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.6779, allocations: 59.5 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.6779, allocations: 3.359 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.6779, allocations: 10.7 kB / 1.096 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.209e-06/0.678, allocations: 7.219 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.678, allocations: 2.594 kB / 1.096 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004689/0.6784, allocations: 340 kB / 1.096 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.6786, allocations: 122.4 kB / 1.096 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.6786, allocations: 8.031 kB / 1.096 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-05/0.6787, allocations: 6.828 kB / 1.096 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.974e-05/0.6787, allocations: 28.36 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.6788, allocations: 10.59 kB / 1.096 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 2.742e-05/0.6788, allocations: 81.14 kB / 1.097 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.6788, allocations: 0 / 1.097 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003771/0.6792, allocations: 93.09 kB / 1.097 GB, free: 15.32 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.00106/0.6803, allocations: 0.9854 MB / 1.098 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004236/0.6807, allocations: 250.2 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6807, allocations: 0 / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.6809, allocations: 140.1 kB / 1.098 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.6811, allocations: 17.73 kB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007228/0.6818, allocations: 435.7 kB / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/0.6821, allocations: 0.7197 MB / 1.099 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002278/0.6823, allocations: 108.8 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.959e-05/0.6824, allocations: 45.14 kB / 1.099 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of SimCode: time 2.11e-07/0.6824, allocations: 0 / 1.099 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.579/2.261, allocations: 4.107 MB / 1.103 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/12.61, allocations: 13.5 kB / 1.103 GB, free: 12.89 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