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.001167/0.001167, allocations: 108 kB / 15.61 MB, free: 152 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.001155/0.001155, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.176/1.176, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.206/2.206, allocations: 390.3 MB / 0.6647 GB, free: 428 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5266/0.5279, allocations: 140.4 MB / 0.9497 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001617/0.5296, allocations: 0.5904 MB / 0.9503 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0018/0.5314, allocations: 1.721 MB / 0.952 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.5314, allocations: 1.625 kB / 0.952 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.461e-05/0.5315, allocations: 3.938 kB / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.865e-05/0.5315, allocations: 0 / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007395/0.5323, allocations: 304.5 kB / 0.9523 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.5324, allocations: 131 kB / 0.9524 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.5324, allocations: 2.281 kB / 0.9524 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.728e-05/0.5325, allocations: 48.61 kB / 0.9524 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.223e-05/0.5326, allocations: 58.3 kB / 0.9525 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.5326, allocations: 5.312 kB / 0.9525 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000379/0.533, allocations: 296.9 kB / 0.9528 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.6e-05/0.5331, allocations: 45.41 kB / 0.9528 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.5331, allocations: 45.14 kB / 0.9529 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.5335, allocations: 273.5 kB / 0.9531 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.5335, allocations: 1.094 kB / 0.9531 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5335, allocations: 0 / 0.9531 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.5335, allocations: 0 / 0.9531 GB, free: 6.57 MB / 0.7169 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.0005764/0.5341, allocations: 451.6 kB / 0.9536 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.5341, allocations: 13.44 kB / 0.9536 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/0.5342, allocations: 43.41 kB / 0.9536 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.5342, allocations: 9.438 kB / 0.9536 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.886e-05/0.5343, allocations: 178.4 kB / 0.9538 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.5343, allocations: 10 kB / 0.9538 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.5343, allocations: 11.19 kB / 0.9538 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.5346, allocations: 216.8 kB / 0.954 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.5347, allocations: 0 / 0.954 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.5347, allocations: 10.23 kB / 0.954 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.5347, allocations: 3.219 kB / 0.954 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.5349, allocations: 175.3 kB / 0.9542 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.5352, allocations: 286.6 kB / 0.9545 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.5358, allocations: 406.2 kB / 0.9549 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.536, allocations: 183.4 kB / 0.955 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/0.5363, allocations: 193.4 kB / 0.9552 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.5364, allocations: 49.67 kB / 0.9553 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.5364, allocations: 0 / 0.9553 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.000593/0.537, allocations: 390.1 kB / 0.9556 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.537, allocations: 186.9 kB / 0.9558 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.545e-05/0.5371, allocations: 91.89 kB / 0.9559 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.5371, allocations: 31.52 kB / 0.9559 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.076e-05/0.5371, allocations: 80.7 kB / 0.956 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.5372, allocations: 110.2 kB / 0.9561 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.5372, allocations: 56.12 kB / 0.9562 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.97e-05/0.5373, allocations: 322.9 kB / 0.9565 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.5374, allocations: 85.48 kB / 0.9566 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.5376, allocations: 143.5 kB / 0.9567 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.5379, allocations: 264.3 kB / 0.957 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5379, allocations: 0 / 0.957 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003723/0.5383, allocations: 288.6 kB / 0.9572 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.5383, allocations: 6.875 kB / 0.9572 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5383, allocations: 1.375 kB / 0.9572 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5383, allocations: 2.75 kB / 0.9572 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.5385, allocations: 58.03 kB / 0.9573 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.5385, allocations: 5.438 kB / 0.9573 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.956e-05/0.5386, allocations: 32.77 kB / 0.9573 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.5387, allocations: 8.125 kB / 0.9573 GB, free: 3.109 MB / 0.7169 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.464e-05/0.5387, allocations: 138.2 kB / 0.9575 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.5388, allocations: 13.58 kB / 0.9575 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005412/0.5393, allocations: 356.3 kB / 0.9578 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.5394, allocations: 4.219 kB / 0.9578 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5394, allocations: 1.938 kB / 0.9578 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.5394, allocations: 6.547 kB / 0.9578 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.5396, allocations: 261.1 kB / 0.9581 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5396, allocations: 1.156 kB / 0.9581 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.5398, allocations: 57.94 kB / 0.9581 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.5398, allocations: 2.938 kB / 0.9581 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.124e-05/0.5398, allocations: 12.55 kB / 0.9582 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.5399, allocations: 6.844 kB / 0.9582 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5399, allocations: 1.562 kB / 0.9582 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.5403, allocations: 340.3 kB / 0.9585 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.5404, allocations: 123.4 kB / 0.9586 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.5404, allocations: 7.188 kB / 0.9586 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.158e-05/0.5405, allocations: 6.906 kB / 0.9586 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.5405, allocations: 26.62 kB / 0.9586 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.5406, allocations: 20.7 kB / 0.9587 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.435e-05/0.5406, allocations: 76.44 kB / 0.9587 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5406, allocations: 0 / 0.9587 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003821/0.541, allocations: 98.08 kB / 0.9588 GB, free: 2.008 MB / 0.7169 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.0008917/0.5419, allocations: 0.9695 MB / 0.9598 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003802/0.5423, allocations: 273 kB / 0.96 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5423, allocations: 5.406 kB / 0.96 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.5424, allocations: 133.4 kB / 0.9602 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.5426, allocations: 25.11 kB / 0.9602 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.5433, allocations: 445.1 kB / 0.9606 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.5434, allocations: 0.7097 MB / 0.9613 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002161/0.5437, allocations: 111 kB / 0.9614 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.508e-05/0.5437, allocations: 39.97 kB / 0.9615 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.5437, allocations: 0 / 0.9615 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8733/1.417, allocations: 4.071 MB / 0.9654 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/12.14, allocations: 9.375 kB / 0.9654 GB, free: 13.82 MB / 0.7325 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