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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004396/0.004396, allocations: 97.03 kB / 15.73 MB, free: 6.484 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.001352/0.001352, allocations: 192 kB / 16.67 MB, free: 6.391 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.764/2.764, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 68.11 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2697, allocations: 162.2 MB / 1.241 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001671/0.2714, allocations: 0.5991 MB / 1.242 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002381/0.2738, allocations: 1.72 MB / 1.244 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.2739, allocations: 0 / 1.244 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.2739, allocations: 4 kB / 1.244 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.977e-05/0.2739, allocations: 0 / 1.244 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008975/0.2748, allocations: 302.9 kB / 1.244 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001808/0.275, allocations: 127.8 kB / 1.244 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.979e-05/0.2751, allocations: 4 kB / 1.244 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.522e-05/0.2752, allocations: 51.89 kB / 1.244 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.2753, allocations: 55.92 kB / 1.244 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.2753, allocations: 4 kB / 1.244 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005505/0.2759, allocations: 346.6 kB / 1.245 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.442e-05/0.2759, allocations: 39.89 kB / 1.245 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.276, allocations: 47.72 kB / 1.245 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004154/0.2764, allocations: 267.3 kB / 1.245 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2764, allocations: 7.938 kB / 1.245 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2764, allocations: 0 / 1.245 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2765, allocations: 0 / 1.245 GB, free: 6.613 MB / 0.9981 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.0006884/0.2772, allocations: 446.8 kB / 1.245 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2772, allocations: 12.03 kB / 1.245 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/0.2773, allocations: 50.67 kB / 1.245 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.2773, allocations: 12.89 kB / 1.245 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.2774, allocations: 168.3 kB / 1.246 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2775, allocations: 12.38 kB / 1.246 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.2775, allocations: 15.94 kB / 1.246 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003464/0.2778, allocations: 214.6 kB / 1.246 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.2779, allocations: 0 / 1.246 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.2779, allocations: 12 kB / 1.246 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2779, allocations: 4 kB / 1.246 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.2782, allocations: 175.7 kB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.2786, allocations: 294.1 kB / 1.246 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007574/0.2793, allocations: 407.7 kB / 1.247 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.2796, allocations: 189.2 kB / 1.247 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003086/0.2799, allocations: 195.2 kB / 1.247 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.28, allocations: 46.5 kB / 1.247 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.28, allocations: 0 / 1.247 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.0007001/0.2807, allocations: 385.2 kB / 1.247 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.2808, allocations: 187.9 kB / 1.248 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.794e-05/0.2809, allocations: 93.84 kB / 1.248 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.2809, allocations: 33.7 kB / 1.248 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.2809, allocations: 80.7 kB / 1.248 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.724e-05/0.281, allocations: 103.1 kB / 1.248 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.434e-05/0.2811, allocations: 57.81 kB / 1.248 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2813, allocations: 326.8 kB / 1.248 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.2814, allocations: 91.86 kB / 1.248 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.2816, allocations: 137.1 kB / 1.249 GB, free: 2.539 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.282, allocations: 262.4 kB / 1.249 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.282, allocations: 0 / 1.249 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004765/0.2825, allocations: 301.5 kB / 1.249 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.2825, allocations: 4 kB / 1.249 GB, free: 1.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.2825, allocations: 4 kB / 1.249 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.2826, allocations: 0 / 1.249 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.2828, allocations: 59.89 kB / 1.249 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2828, allocations: 7.938 kB / 1.249 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.477e-05/0.2829, allocations: 15.89 kB / 1.249 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.2829, allocations: 12 kB / 1.249 GB, free: 1.863 MB / 0.9981 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.0001214/0.2831, allocations: 150.2 kB / 1.249 GB, free: 1.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.2831, allocations: 7.953 kB / 1.249 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006355/0.2838, allocations: 356.8 kB / 1.25 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.2838, allocations: 7.984 kB / 1.25 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2838, allocations: 4 kB / 1.25 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2838, allocations: 0 / 1.25 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.2841, allocations: 257.9 kB / 1.25 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2841, allocations: 4 kB / 1.25 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.2843, allocations: 59.89 kB / 1.25 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.2843, allocations: 4 kB / 1.25 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.382e-05/0.2844, allocations: 12 kB / 1.25 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2844, allocations: 4 kB / 1.25 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.2844, allocations: 3.984 kB / 1.25 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005009/0.2849, allocations: 353 kB / 1.25 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.285, allocations: 117 kB / 1.25 GB, free: 440 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.285, allocations: 0 / 1.25 GB, free: 440 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.461e-05/0.2851, allocations: 11.98 kB / 1.25 GB, free: 428 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.2852, allocations: 23.97 kB / 1.25 GB, free: 404 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.2852, allocations: 12 kB / 1.251 GB, free: 392 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.807e-05/0.2853, allocations: 83.27 kB / 1.251 GB, free: 308 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2853, allocations: 0 / 1.251 GB, free: 308 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003617/0.2856, allocations: 95.81 kB / 1.251 GB, free: 212 kB / 0.9981 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.4598/0.7454, allocations: 0.9701 MB / 1.252 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.7459, allocations: 253 kB / 1.252 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.7459, allocations: 0 / 1.252 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.7461, allocations: 139.5 kB / 1.252 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.7463, allocations: 17.97 kB / 1.252 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006657/0.747, allocations: 433.6 kB / 1.252 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.7471, allocations: 0.7127 MB / 1.253 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002359/0.7473, allocations: 108.5 kB / 1.253 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.7474, allocations: 45.44 kB / 1.253 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.7474, allocations: 0 / 1.253 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.771, allocations: 4.133 MB / 1.257 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.412/8.183, allocations: 17.95 kB / 1.257 GB, free: 13.31 MB / 0.9981 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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