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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0009133/0.0009133, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005535/0.005535, allocations: 169 kB / 16.26 MB, free: 6.652 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.253/1.253, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.402/2.402, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 13.66 kB / 0.9029 GB, free: 36.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2344, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.0006069/0.235, allocations: 338.7 kB / 1.059 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.2369, allocations: 1.756 MB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.477e-05/0.237, allocations: 0 / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.237, allocations: 0 / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.785e-05/0.237, allocations: 3.938 kB / 1.061 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006136/0.2376, allocations: 248.7 kB / 1.061 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.2378, allocations: 127.9 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.2378, allocations: 4 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.886e-05/0.2379, allocations: 63.77 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.828e-05/0.238, allocations: 55.92 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.238, allocations: 4 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003516/0.2384, allocations: 284.4 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.089e-05/0.2384, allocations: 39.89 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.528e-05/0.2385, allocations: 73.42 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.2388, allocations: 271.5 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2388, allocations: 3.938 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2388, allocations: 0 / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.416e-06/0.2388, allocations: 0 / 1.062 GB, free: 1.625 MB / 0.8106 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.0005018/0.2393, allocations: 419.6 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2393, allocations: 15.97 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.2394, allocations: 46.73 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.2394, allocations: 8.844 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.691e-05/0.2395, allocations: 172.3 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.2395, allocations: 12.38 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.2395, allocations: 19.94 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.2398, allocations: 215.1 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.2398, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.2399, allocations: 8 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.2399, allocations: 4 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.2401, allocations: 171.8 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.2403, allocations: 286 kB / 1.063 GB, free: 96 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.241, allocations: 411.7 kB / 1.064 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.2412, allocations: 189.1 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002504/0.2414, allocations: 199.2 kB / 1.064 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.2415, allocations: 38.56 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 2.375e-06/0.2415, allocations: 0 / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0005434/0.242, allocations: 386.5 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.2421, allocations: 195.8 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.372e-05/0.2421, allocations: 97.86 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.2422, allocations: 29.7 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 1.843e-05/0.2422, allocations: 80.7 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.2423, allocations: 98.55 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.2423, allocations: 29.7 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.2424, allocations: 322.8 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.2425, allocations: 87.88 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.2427, allocations: 154.2 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.243, allocations: 253.2 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.243, allocations: 4 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003621/0.2433, allocations: 285.2 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.2434, allocations: 8 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2434, allocations: 7.938 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.2434, allocations: 4 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.2436, allocations: 55.91 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.2436, allocations: 4 kB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-05/0.2437, allocations: 23.77 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.2437, allocations: 8 kB / 1.066 GB, free: 12.94 MB / 0.8262 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 9.032e-05/0.2438, allocations: 141.8 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.2439, allocations: 15.81 kB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005099/0.2444, allocations: 365.2 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.2444, allocations: 4 kB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.2444, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.2444, allocations: 7.984 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.2446, allocations: 253.3 kB / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2446, allocations: 0 / 1.067 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.2448, allocations: 59.91 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2448, allocations: 0 / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.2449, allocations: 11.98 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.2449, allocations: 8 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2449, allocations: 3.938 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.2453, allocations: 337 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.2453, allocations: 120.9 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.2454, allocations: 12 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.2455, allocations: 4 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.2455, allocations: 31.89 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.2455, allocations: 8.312 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.385e-05/0.2455, allocations: 79.28 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2456, allocations: 0 / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003174/0.2459, allocations: 95.98 kB / 1.068 GB, free: 11.3 MB / 0.8262 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.0009036/0.2468, allocations: 0.995 MB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003223/0.2471, allocations: 243.7 kB / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2471, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.2473, allocations: 139.8 kB / 1.069 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.2475, allocations: 18.95 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006319/0.2481, allocations: 471.4 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.2483, allocations: 0.7166 MB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002034/0.2485, allocations: 105.4 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.2486, allocations: 51.41 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2486, allocations: 0 / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9652/1.214, allocations: 3.817 MB / 1.074 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000277/1.214, allocations: 270.2 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/3.133, allocations: 2.25 kB / 1.074 GB, free: 4.453 MB / 0.8262 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