Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_10_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.001414/0.001414, allocations: 112.5 kB / 15.73 MB, free: 76 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.001389/0.001389, allocations: 192.9 kB / 16.67 MB, free: 6.539 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.255/1.255, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.365/2.365, allocations: 437.1 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 67.89 kB / 1.018 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2364, allocations: 151.6 MB / 1.166 GB, free: 7.395 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00141/0.2378, allocations: 0.5987 MB / 1.167 GB, free: 6.793 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.2399, allocations: 1.725 MB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.2399, allocations: 0 / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.2399, allocations: 7.938 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.589e-05/0.24, allocations: 0 / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007389/0.2407, allocations: 303.4 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.2409, allocations: 135.8 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.225e-05/0.2409, allocations: 7.984 kB / 1.169 GB, free: 4.605 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.95e-05/0.241, allocations: 43.97 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.2411, allocations: 59.86 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.2411, allocations: 4 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004606/0.2416, allocations: 335.6 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.011e-05/0.2416, allocations: 39.89 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.453e-05/0.2417, allocations: 47.78 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.242, allocations: 275.2 kB / 1.17 GB, free: 3.816 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2421, allocations: 4 kB / 1.17 GB, free: 3.812 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2421, allocations: 0 / 1.17 GB, free: 3.812 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.2421, allocations: 0 / 1.17 GB, free: 3.812 MB / 0.92 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.0005905/0.2427, allocations: 442.9 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.2427, allocations: 8.031 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.2428, allocations: 46.73 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.2428, allocations: 12.89 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2429, allocations: 172.3 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.2429, allocations: 12.38 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.243, allocations: 15.94 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.2433, allocations: 219.6 kB / 1.171 GB, free: 2.785 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2433, allocations: 3.938 kB / 1.171 GB, free: 2.781 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.2433, allocations: 8 kB / 1.171 GB, free: 2.773 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.2433, allocations: 4 kB / 1.171 GB, free: 2.77 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002618/0.2436, allocations: 175.8 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.2439, allocations: 282 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006665/0.2445, allocations: 411.8 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.2448, allocations: 197 kB / 1.172 GB, free: 1.59 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/0.2451, allocations: 195.2 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.2451, allocations: 42.5 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.323e-06/0.2451, allocations: 0 / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.0006043/0.2457, allocations: 381.3 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.181e-05/0.2458, allocations: 195.8 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.602e-05/0.2459, allocations: 89.86 kB / 1.172 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.2459, allocations: 29.7 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.2459, allocations: 80.7 kB / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-05/0.246, allocations: 115 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.125e-05/0.2461, allocations: 53.69 kB / 1.173 GB, free: 316 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2462, allocations: 327 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.2464, allocations: 87.92 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.2465, allocations: 134.6 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.2469, allocations: 257 kB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2469, allocations: 8 kB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004144/0.2473, allocations: 293.4 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2473, allocations: 11.94 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.2473, allocations: 0 / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2474, allocations: 4 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.2476, allocations: 55.95 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.2476, allocations: 7.938 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.087e-05/0.2477, allocations: 11.89 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.2477, allocations: 15.98 kB / 1.174 GB, free: 15.07 MB / 0.9356 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.0001035/0.2478, allocations: 141.7 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.2479, allocations: 11.95 kB / 1.174 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005592/0.2484, allocations: 356.8 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2484, allocations: 4 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2484, allocations: 0.5625 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.2485, allocations: 4 kB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.2487, allocations: 261.3 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2487, allocations: 4 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.2489, allocations: 67.89 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2489, allocations: 0 / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.2489, allocations: 4 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.487e-06/0.249, allocations: 11.92 kB / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.249, allocations: 0 / 1.175 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004287/0.2494, allocations: 345.1 kB / 1.175 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.805e-05/0.2495, allocations: 120.9 kB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.2495, allocations: 11.98 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.2496, allocations: 4 kB / 1.175 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.2497, allocations: 27.91 kB / 1.175 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.2497, allocations: 15.92 kB / 1.175 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.2497, allocations: 83.28 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2497, allocations: 0 / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003156/0.2501, allocations: 87.88 kB / 1.175 GB, free: 13.42 MB / 0.9356 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.001045/0.2511, allocations: 0.9928 MB / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003806/0.2515, allocations: 259.6 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2515, allocations: 0 / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.2517, allocations: 131.8 kB / 1.177 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.2519, allocations: 19.98 kB / 1.177 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000682/0.2526, allocations: 431.8 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.2529, allocations: 0.72 MB / 1.178 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002108/0.2531, allocations: 109.4 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/0.2532, allocations: 43.41 kB / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.2532, allocations: 0 / 1.178 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.048/5.301, allocations: 4.122 MB / 1.182 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.539/13.84, allocations: 7.891 kB / 1.182 GB, free: 6.605 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches