Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_11_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.00202/0.00202, 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.001371/0.001371, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.687/2.687, allocations: 469.8 MB / 0.7424 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 64.88 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2492, allocations: 159.2 MB / 1.064 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001675/0.2509, allocations: 0.6023 MB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002281/0.2532, allocations: 1.715 MB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.867e-05/0.2532, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.2533, allocations: 3.984 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.48e-05/0.2533, allocations: 0 / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008301/0.2541, allocations: 307.3 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.2543, allocations: 135.8 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.2544, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.266e-05/0.2544, allocations: 55.89 kB / 1.067 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.2545, allocations: 55.92 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.2546, allocations: 4 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/0.255, allocations: 287.7 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.558e-05/0.2551, allocations: 39.89 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.013e-05/0.2552, allocations: 51.72 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003842/0.2556, allocations: 271.3 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2556, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2556, allocations: 4 kB / 1.068 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.2556, allocations: 4 kB / 1.068 GB, free: 10.74 MB / 0.8262 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.0006591/0.2562, allocations: 439.4 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.2563, allocations: 8.031 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.2563, allocations: 46.73 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.2564, allocations: 8.844 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2565, allocations: 176.2 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2565, allocations: 12.38 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.2566, allocations: 19.92 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.2569, allocations: 208.4 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2569, allocations: 7.938 kB / 1.068 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.2569, allocations: 4 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.2569, allocations: 4 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.2572, allocations: 179.8 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.2575, allocations: 278.1 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007126/0.2582, allocations: 419.7 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.2585, allocations: 173.2 kB / 1.069 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003055/0.2588, allocations: 207.1 kB / 1.07 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.2588, allocations: 38.56 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.323e-06/0.2588, allocations: 0 / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0006663/0.2595, allocations: 386.1 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.2596, allocations: 191.9 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.987e-05/0.2597, allocations: 93.86 kB / 1.07 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.2597, allocations: 29.7 kB / 1.07 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.2598, allocations: 80.7 kB / 1.07 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.508e-05/0.2599, allocations: 106.4 kB / 1.07 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.2599, allocations: 57.69 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2601, allocations: 326.8 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.2602, allocations: 92.05 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.2604, allocations: 149 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003639/0.2608, allocations: 257.5 kB / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2608, allocations: 0 / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004523/0.2612, allocations: 297.2 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.2613, allocations: 8 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.2613, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2613, allocations: 4 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.2615, allocations: 56.27 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.974e-06/0.2615, allocations: 4 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.428e-05/0.2616, allocations: 15.84 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.2617, allocations: 15.98 kB / 1.072 GB, free: 6.012 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 0.0001181/0.2618, allocations: 141.7 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.2618, allocations: 15.91 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006102/0.2624, allocations: 356.8 kB / 1.072 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2625, allocations: 8 kB / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2625, allocations: 0 / 1.072 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2625, allocations: 4 kB / 1.072 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.2627, allocations: 261.2 kB / 1.072 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2627, allocations: 4 kB / 1.072 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.263, allocations: 51.91 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.263, allocations: 4 kB / 1.073 GB, free: 5.117 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.263, allocations: 15.98 kB / 1.073 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.263, allocations: 4 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.263, allocations: 0 / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004727/0.2635, allocations: 349.4 kB / 1.073 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.2636, allocations: 120.8 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.2636, allocations: 8 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.533e-05/0.2637, allocations: 4 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.2638, allocations: 23.97 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.092e-05/0.2638, allocations: 15.98 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.34e-05/0.2638, allocations: 75.28 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.943e-06/0.2638, allocations: 0 / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003529/0.2642, allocations: 104 kB / 1.073 GB, free: 4.359 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.00108/0.2653, allocations: 0.9811 MB / 1.074 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004131/0.2657, allocations: 267.6 kB / 1.074 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2657, allocations: 0 / 1.074 GB, free: 3.078 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/0.2659, allocations: 141.2 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.2661, allocations: 16 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007622/0.2669, allocations: 448.3 kB / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.2672, allocations: 0.7085 MB / 1.076 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002227/0.2674, allocations: 109.4 kB / 1.076 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.127e-05/0.2675, allocations: 47.41 kB / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2675, allocations: 0 / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.962/2.229, allocations: 4.062 MB / 1.08 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.896/11.13, allocations: 8.922 kB / 1.08 GB, free: 13.56 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches