Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_9_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.00149/0.00149, 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.001658/0.001658, allocations: 194.3 kB / 16.14 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.359/1.359, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6274/0.6288, allocations: 140.4 MB / 0.9491 GB, free: 9.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001717/0.6306, allocations: 0.6554 MB / 0.9497 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00205/0.6327, allocations: 1.769 MB / 0.9514 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.786e-05/0.6327, allocations: 0 / 0.9514 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.6327, allocations: 1.375 kB / 0.9514 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.306e-05/0.6328, allocations: 0 / 0.9514 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006772/0.6335, allocations: 245 kB / 0.9517 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.6336, allocations: 131.6 kB / 0.9518 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.6337, allocations: 2.469 kB / 0.9518 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.31e-05/0.6337, allocations: 48.09 kB / 0.9518 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.568e-05/0.6339, allocations: 61.23 kB / 0.9519 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.6339, allocations: 5.656 kB / 0.9519 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003945/0.6343, allocations: 290.6 kB / 0.9522 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.886e-05/0.6343, allocations: 41.11 kB / 0.9522 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.6344, allocations: 36.14 kB / 0.9522 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.6347, allocations: 277.8 kB / 0.9525 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6347, allocations: 0 / 0.9525 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6347, allocations: 0 / 0.9525 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.6348, allocations: 0 / 0.9525 GB, free: 6.531 MB / 0.7169 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.0006075/0.6354, allocations: 449.2 kB / 0.9529 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.6354, allocations: 13.31 kB / 0.9529 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.204e-05/0.6355, allocations: 56.17 kB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.415e-05/0.6355, allocations: 10.44 kB / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.463e-05/0.6356, allocations: 170.4 kB / 0.9532 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.6356, allocations: 8.344 kB / 0.9532 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.6356, allocations: 16.09 kB / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.636, allocations: 218.5 kB / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.636, allocations: 1.344 kB / 0.9534 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.636, allocations: 9.484 kB / 0.9534 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.636, allocations: 4 kB / 0.9534 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002611/0.6363, allocations: 177.9 kB / 0.9536 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.6365, allocations: 283.5 kB / 0.9539 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006586/0.6372, allocations: 410.7 kB / 0.9543 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.6374, allocations: 178.8 kB / 0.9544 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/0.6377, allocations: 201.1 kB / 0.9546 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.6378, allocations: 41.97 kB / 0.9547 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.6378, allocations: 1.156 kB / 0.9547 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0006278/0.6384, allocations: 388.5 kB / 0.955 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.6384, allocations: 188.7 kB / 0.9552 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.309e-05/0.6385, allocations: 98.83 kB / 0.9553 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.6385, allocations: 31.14 kB / 0.9553 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.352e-05/0.6385, allocations: 82.14 kB / 0.9554 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.6386, allocations: 98 kB / 0.9555 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.6387, allocations: 57.31 kB / 0.9556 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.519e-05/0.6387, allocations: 326.1 kB / 0.9559 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.6389, allocations: 88.89 kB / 0.956 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.639, allocations: 136.4 kB / 0.9561 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003305/0.6394, allocations: 267.6 kB / 0.9563 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6394, allocations: 0 / 0.9563 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004191/0.6398, allocations: 280.3 kB / 0.9566 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.6398, allocations: 6.406 kB / 0.9566 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6398, allocations: 5.219 kB / 0.9566 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.6399, allocations: 2 kB / 0.9566 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.6401, allocations: 62.67 kB / 0.9567 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.6401, allocations: 2.375 kB / 0.9567 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.6402, allocations: 17.28 kB / 0.9567 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.6403, allocations: 16.42 kB / 0.9567 GB, free: 3.074 MB / 0.7169 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.002e-05/0.6404, allocations: 137 kB / 0.9568 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.6404, allocations: 10.75 kB / 0.9569 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005446/0.6409, allocations: 368.2 kB / 0.9572 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.641, allocations: 4.094 kB / 0.9572 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.641, allocations: 1.375 kB / 0.9572 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.641, allocations: 2.594 kB / 0.9572 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.6412, allocations: 257.3 kB / 0.9575 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.6412, allocations: 1.344 kB / 0.9575 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.6414, allocations: 61.14 kB / 0.9575 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.6414, allocations: 3.25 kB / 0.9575 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.6414, allocations: 16.42 kB / 0.9575 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.6415, allocations: 2.594 kB / 0.9575 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6415, allocations: 6.156 kB / 0.9575 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004467/0.6419, allocations: 350 kB / 0.9579 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.462e-05/0.642, allocations: 130.6 kB / 0.958 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.642, allocations: 10.75 kB / 0.958 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.999e-05/0.6421, allocations: 6.75 kB / 0.958 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.6422, allocations: 22.97 kB / 0.958 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.6422, allocations: 17.55 kB / 0.9581 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.608e-05/0.6422, allocations: 75.28 kB / 0.9581 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6422, allocations: 1.375 kB / 0.9581 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003903/0.6426, allocations: 93.3 kB / 0.9582 GB, free: 1.957 MB / 0.7169 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.001015/0.6437, allocations: 0.9668 MB / 0.9592 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004068/0.6441, allocations: 248.9 kB / 0.9594 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6441, allocations: 0 / 0.9594 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.6443, allocations: 142.7 kB / 0.9595 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.6445, allocations: 13.56 kB / 0.9596 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007063/0.6452, allocations: 482.5 kB / 0.96 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.6454, allocations: 0.7155 MB / 0.9607 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002252/0.6456, allocations: 108.4 kB / 0.9608 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/0.6457, allocations: 45.84 kB / 0.9609 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.6457, allocations: 4 kB / 0.9609 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1627/0.8084, allocations: 3.925 MB / 0.9647 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/0.8087, allocations: 261.9 kB / 0.9649 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/2.585, allocations: 3.938 kB / 0.9649 GB, free: 13.61 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches