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.001547/0.001547, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00185/0.00185, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.309/1.309, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.517/2.517, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 66.19 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2507, allocations: 157.4 MB / 1.052 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001918/0.2527, allocations: 0.6619 MB / 1.053 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002452/0.2552, allocations: 1.783 MB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.817e-05/0.2552, allocations: 0 / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.879e-05/0.2553, allocations: 0 / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.15e-05/0.2553, allocations: 3.938 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007671/0.2561, allocations: 246.4 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.2562, allocations: 123.9 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.2563, allocations: 0 / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.117e-05/0.2564, allocations: 51.84 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.903e-05/0.2565, allocations: 59.92 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.2565, allocations: 4 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004718/0.257, allocations: 295.6 kB / 1.055 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.257, allocations: 39.91 kB / 1.055 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/0.2571, allocations: 43.72 kB / 1.055 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.2575, allocations: 275.4 kB / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2575, allocations: 0 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.42e-07/0.2575, allocations: 0 / 1.056 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2575, allocations: 0 / 1.056 GB, free: 4.602 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.000662/0.2582, allocations: 447.6 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.2582, allocations: 11.97 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.562e-05/0.2583, allocations: 50.73 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.743e-05/0.2584, allocations: 8.844 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.354e-05/0.2585, allocations: 172.3 kB / 1.056 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2585, allocations: 8.375 kB / 1.056 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.652e-05/0.2585, allocations: 15.94 kB / 1.056 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.2588, allocations: 219.1 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2588, allocations: 0 / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.2589, allocations: 4 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2589, allocations: 4 kB / 1.057 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002619/0.2591, allocations: 175.8 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.2595, allocations: 282 kB / 1.057 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007014/0.2602, allocations: 415.7 kB / 1.057 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.2604, allocations: 185.1 kB / 1.058 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003006/0.2607, allocations: 199.2 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.2607, allocations: 46.56 kB / 1.058 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 1.522e-06/0.2608, allocations: 3.938 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.0006332/0.2614, allocations: 377.2 kB / 1.058 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/0.2615, allocations: 191.9 kB / 1.058 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.313e-05/0.2615, allocations: 93.84 kB / 1.058 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2616, allocations: 37.83 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.2616, allocations: 80.7 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.215e-05/0.2617, allocations: 98.55 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.2618, allocations: 53.69 kB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.2619, allocations: 330.8 kB / 1.059 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.2621, allocations: 87.94 kB / 1.059 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.2622, allocations: 146.1 kB / 1.059 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003495/0.2626, allocations: 258.5 kB / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2626, allocations: 0 / 1.06 GB, free: 272 kB / 0.8106 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004361/0.263, allocations: 297.6 kB / 1.06 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2631, allocations: 4 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2631, allocations: 0 / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2631, allocations: 4 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.2633, allocations: 55.91 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.2633, allocations: 11.92 kB / 1.06 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.2634, allocations: 19.75 kB / 1.06 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.2635, allocations: 12 kB / 1.06 GB, free: 15.86 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.982e-05/0.2636, allocations: 137.8 kB / 1.06 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.2636, allocations: 11.91 kB / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005691/0.2642, allocations: 360.8 kB / 1.06 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2642, allocations: 4 kB / 1.06 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.2642, allocations: 8 kB / 1.06 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2642, allocations: 3.984 kB / 1.06 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.2645, allocations: 257.3 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2645, allocations: 448 / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.2647, allocations: 59.89 kB / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2647, allocations: 0 / 1.061 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.2647, allocations: 16 kB / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2648, allocations: 0 / 1.061 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.2648, allocations: 7.938 kB / 1.061 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.2652, allocations: 349 kB / 1.061 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.2653, allocations: 112.9 kB / 1.061 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.2654, allocations: 8 kB / 1.061 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.055e-05/0.2655, allocations: 4 kB / 1.061 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.2655, allocations: 31.89 kB / 1.061 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.2655, allocations: 19.94 kB / 1.061 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.809e-05/0.2656, allocations: 75.28 kB / 1.061 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2656, allocations: 0 / 1.061 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000368/0.2659, allocations: 91.98 kB / 1.061 GB, free: 14.22 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.001083/0.267, allocations: 0.9851 MB / 1.062 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003746/0.2674, allocations: 248.3 kB / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2674, allocations: 0 / 1.063 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.2676, allocations: 143.8 kB / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.2678, allocations: 15.94 kB / 1.063 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007266/0.2685, allocations: 477.8 kB / 1.063 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.2688, allocations: 0.7127 MB / 1.064 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002256/0.269, allocations: 105.4 kB / 1.064 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.2691, allocations: 43.34 kB / 1.064 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.2691, allocations: 0 / 1.064 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07309/0.3422, allocations: 3.936 MB / 1.068 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002785/0.3425, allocations: 270.5 kB / 1.068 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.829/2.171, allocations: 0 / 1.068 GB, free: 7.238 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