Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_latest_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.007624/0.007624, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001735/0.001735, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.715/2.715, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 63.89 kB / 1.054 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3284, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00192/0.3304, allocations: 0.5853 MB / 1.208 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002585/0.333, allocations: 1.732 MB / 1.21 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.333, allocations: 0 / 1.21 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.671e-05/0.3331, allocations: 7.938 kB / 1.21 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.712e-05/0.3331, allocations: 0 / 1.21 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.3342, allocations: 311.8 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.3344, allocations: 131.8 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.624e-05/0.3345, allocations: 4 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.558e-05/0.3346, allocations: 55.89 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.3347, allocations: 55.92 kB / 1.21 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.3347, allocations: 4 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006052/0.3354, allocations: 347.5 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.42e-05/0.3354, allocations: 39.89 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.357e-05/0.3355, allocations: 43.73 kB / 1.211 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004951/0.336, allocations: 271.5 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.336, allocations: 0 / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.543e-06/0.336, allocations: 3.938 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.336, allocations: 0 / 1.211 GB, free: 6.59 MB / 0.9669 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.0007245/0.3368, allocations: 451.2 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.3368, allocations: 12.62 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.433e-05/0.3369, allocations: 42.75 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.3369, allocations: 8.844 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3371, allocations: 176.2 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.3371, allocations: 8.375 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.3371, allocations: 19.94 kB / 1.211 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.3375, allocations: 215.9 kB / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.3375, allocations: 0 / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.3375, allocations: 8 kB / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.3375, allocations: 4 kB / 1.212 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.3378, allocations: 175.8 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.3381, allocations: 290 kB / 1.212 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007228/0.3389, allocations: 403.8 kB / 1.213 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.3391, allocations: 181.1 kB / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004012/0.3395, allocations: 199.2 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.3396, allocations: 46.48 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 1.542e-06/0.3396, allocations: 0 / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.0006606/0.3402, allocations: 386.4 kB / 1.213 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.3403, allocations: 191.9 kB / 1.213 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.975e-05/0.3404, allocations: 93.86 kB / 1.214 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.3404, allocations: 33.7 kB / 1.214 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.3405, allocations: 84.69 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.3406, allocations: 106.4 kB / 1.214 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.325e-05/0.3407, allocations: 57.69 kB / 1.214 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3408, allocations: 318.8 kB / 1.214 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.341, allocations: 87.92 kB / 1.214 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.3411, allocations: 149.1 kB / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.3415, allocations: 253.3 kB / 1.215 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3415, allocations: 0 / 1.215 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004239/0.3419, allocations: 297.2 kB / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.342, allocations: 4 kB / 1.215 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.342, allocations: 8 kB / 1.215 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.342, allocations: 0 / 1.215 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.3422, allocations: 51.97 kB / 1.215 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.3423, allocations: 12.25 kB / 1.215 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.433e-05/0.3424, allocations: 15.84 kB / 1.215 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.3424, allocations: 15.98 kB / 1.215 GB, free: 1.852 MB / 0.9669 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.0001267/0.3425, allocations: 137.7 kB / 1.215 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.3426, allocations: 15.89 kB / 1.215 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005721/0.3431, allocations: 360.8 kB / 1.215 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3432, allocations: 4 kB / 1.215 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.3432, allocations: 4 kB / 1.216 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3432, allocations: 3.984 kB / 1.216 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.3434, allocations: 257.3 kB / 1.216 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3434, allocations: 4 kB / 1.216 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.3437, allocations: 51.91 kB / 1.216 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.3437, allocations: 4 kB / 1.216 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.3437, allocations: 11.98 kB / 1.216 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.441e-06/0.3437, allocations: 7.938 kB / 1.216 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3437, allocations: 4 kB / 1.216 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004342/0.3442, allocations: 345.5 kB / 1.216 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.3443, allocations: 120.8 kB / 1.216 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.3443, allocations: 8 kB / 1.216 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.24e-05/0.3444, allocations: 8 kB / 1.216 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.3445, allocations: 27.91 kB / 1.216 GB, free: 396 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.3445, allocations: 15.98 kB / 1.216 GB, free: 380 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 2.773e-05/0.3445, allocations: 75.28 kB / 1.216 GB, free: 304 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3445, allocations: 0 / 1.216 GB, free: 304 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000388/0.3449, allocations: 95.98 kB / 1.216 GB, free: 208 kB / 0.9669 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.001122/0.346, allocations: 0.983 MB / 1.217 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003947/0.3464, allocations: 247.9 kB / 1.218 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3465, allocations: 0 / 1.218 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.3466, allocations: 144.7 kB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.3468, allocations: 15.94 kB / 1.218 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008298/0.3477, allocations: 440.8 kB / 1.218 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.348, allocations: 0.7163 MB / 1.219 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002112/0.3482, allocations: 105.4 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.445e-05/0.3483, allocations: 41.78 kB / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.3483, allocations: 0 / 1.219 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02242/0.3707, allocations: 4.165 MB / 1.223 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.869, allocations: 0 / 1.223 GB, free: 9.387 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches