Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 111 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.131/3.131, allocations: 0.49 GB / 0.7916 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 73.97 kB / 1.149 GB, free: 26.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3533, allocations: 176.1 MB / 1.321 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001834/0.3551, allocations: 0.5981 MB / 1.321 GB, free: 2.695 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002746/0.3579, allocations: 1.787 MB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.3579, allocations: 4 kB / 1.323 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/0.3579, allocations: 4 kB / 1.323 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.903e-05/0.3579, allocations: 7.875 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.3589, allocations: 310.6 kB / 1.323 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.3591, allocations: 127.9 kB / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.46e-05/0.3592, allocations: 7.984 kB / 1.324 GB, free: 452 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.915e-05/0.3593, allocations: 43.97 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.3594, allocations: 63.78 kB / 1.324 GB, free: 344 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.448e-05/0.3594, allocations: 8 kB / 1.324 GB, free: 336 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000597/0.36, allocations: 343.6 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.3601, allocations: 43.84 kB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.3601, allocations: 47.77 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.3606, allocations: 283.2 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3606, allocations: 4 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3606, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3606, allocations: 0 / 1.324 GB, free: 15.62 MB / 1.029 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.0007238/0.3613, allocations: 446.8 kB / 1.325 GB, free: 15.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.3614, allocations: 15.97 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.139e-05/0.3614, allocations: 50.62 kB / 1.325 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.3615, allocations: 16.89 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3616, allocations: 168.3 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.3616, allocations: 12.38 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.3616, allocations: 19.92 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.362, allocations: 210.6 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.362, allocations: 4 kB / 1.325 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.362, allocations: 4 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.362, allocations: 4 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.3623, allocations: 187.7 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.3627, allocations: 274.1 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007583/0.3634, allocations: 391.7 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002373/0.3637, allocations: 165.2 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/0.364, allocations: 191.2 kB / 1.326 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.364, allocations: 46.48 kB / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.364, allocations: 0 / 1.327 GB, free: 13.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=30): time 0.0007129/0.3647, allocations: 390.4 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.3648, allocations: 187.9 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.3649, allocations: 89.86 kB / 1.327 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.3649, allocations: 33.7 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.365, allocations: 80.7 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.3651, allocations: 107.1 kB / 1.327 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/0.3652, allocations: 61.8 kB / 1.327 GB, free: 12.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3653, allocations: 318.8 kB / 1.328 GB, free: 11.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.3655, allocations: 88.23 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.3657, allocations: 141.6 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.3661, allocations: 272.9 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3661, allocations: 0 / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005011/0.3666, allocations: 297.2 kB / 1.328 GB, free: 11.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3666, allocations: 4 kB / 1.328 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.3666, allocations: 0 / 1.328 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3666, allocations: 7.938 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.3669, allocations: 59.91 kB / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3669, allocations: 0 / 1.329 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.367, allocations: 15.89 kB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.367, allocations: 19.97 kB / 1.329 GB, free: 10.9 MB / 1.029 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.0001333/0.3671, allocations: 149.6 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.3672, allocations: 11.94 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006544/0.3678, allocations: 361.3 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.3678, allocations: 4 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.3678, allocations: 4 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.3678, allocations: 7.969 kB / 1.329 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.3681, allocations: 257.4 kB / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3681, allocations: 0 / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.3684, allocations: 63.91 kB / 1.329 GB, free: 9.996 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3684, allocations: 4 kB / 1.329 GB, free: 9.992 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.3684, allocations: 11.98 kB / 1.329 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3684, allocations: 0 / 1.329 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3684, allocations: 4 kB / 1.329 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.3689, allocations: 341.2 kB / 1.33 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.369, allocations: 120.9 kB / 1.33 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.3691, allocations: 8 kB / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.202e-05/0.3692, allocations: 8 kB / 1.33 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.3692, allocations: 19.97 kB / 1.33 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.3692, allocations: 15.98 kB / 1.33 GB, free: 9.422 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.947e-05/0.3693, allocations: 79.28 kB / 1.33 GB, free: 9.344 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3693, allocations: 0 / 1.33 GB, free: 9.344 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004388/0.3697, allocations: 103.8 kB / 1.33 GB, free: 9.242 MB / 1.029 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.001179/0.3709, allocations: 0.9835 MB / 1.331 GB, free: 8.211 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004199/0.3713, allocations: 231.7 kB / 1.331 GB, free: 7.984 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3713, allocations: 0 / 1.331 GB, free: 7.984 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.3715, allocations: 127.8 kB / 1.331 GB, free: 7.859 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.3717, allocations: 16.39 kB / 1.331 GB, free: 7.848 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000856/0.3725, allocations: 444.6 kB / 1.332 GB, free: 7.359 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.3729, allocations: 0.7178 MB / 1.333 GB, free: 6.617 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002238/0.3731, allocations: 109.4 kB / 1.333 GB, free: 6.512 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.3732, allocations: 39.41 kB / 1.333 GB, free: 6.473 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.3732, allocations: 0 / 1.333 GB, free: 6.473 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02861/0.4018, allocations: 4.188 MB / 1.337 GB, free: 2.398 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.072/8.474, allocations: 0 / 1.337 GB, free: 2.398 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.091482003917918]