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.001485/0.001485, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001585/0.001585, allocations: 215 kB / 20.13 MB, free: 2.949 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.469/1.469, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.852/2.852, allocations: 0.49 GB / 0.7923 GB, free: 1.348 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ",fmuType="cs",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.002032/0.002032, allocations: 63.91 kB / 1.15 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9042/0.9063, allocations: 176.1 MB / 1.322 GB, free: 7.645 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001851/0.9081, allocations: 0.6027 MB / 1.322 GB, free: 7.191 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002547/0.9107, allocations: 1.804 MB / 1.324 GB, free: 5.766 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.447e-05/0.9107, allocations: 1.125 kB / 1.324 GB, free: 5.766 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.39e-05/0.9107, allocations: 3.938 kB / 1.324 GB, free: 5.762 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.801e-05/0.9108, allocations: 0 / 1.324 GB, free: 5.762 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008875/0.9116, allocations: 308.1 kB / 1.324 GB, free: 5.57 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.9118, allocations: 131.1 kB / 1.324 GB, free: 5.504 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.9119, allocations: 6.234 kB / 1.324 GB, free: 5.5 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.857e-05/0.9119, allocations: 53.08 kB / 1.324 GB, free: 5.477 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.9121, allocations: 53.41 kB / 1.324 GB, free: 5.449 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.9121, allocations: 6.344 kB / 1.324 GB, free: 5.449 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004962/0.9126, allocations: 353.8 kB / 1.325 GB, free: 5.258 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.9126, allocations: 41.02 kB / 1.325 GB, free: 5.234 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.187e-05/0.9127, allocations: 45.25 kB / 1.325 GB, free: 5.203 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.9131, allocations: 284.6 kB / 1.325 GB, free: 5.031 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9131, allocations: 0 / 1.325 GB, free: 5.031 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9131, allocations: 1.469 kB / 1.325 GB, free: 5.031 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.9131, allocations: 0 / 1.325 GB, free: 5.031 MB / 1.014 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.000731/0.9138, allocations: 454.8 kB / 1.326 GB, free: 4.598 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9139, allocations: 18.08 kB / 1.326 GB, free: 4.59 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.837e-05/0.9139, allocations: 3.125 kB / 1.326 GB, free: 4.59 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.9139, allocations: 48.3 kB / 1.326 GB, free: 4.539 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.914, allocations: 9.047 kB / 1.326 GB, free: 4.535 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.9141, allocations: 170.8 kB / 1.326 GB, free: 4.332 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.9141, allocations: 17.44 kB / 1.326 GB, free: 4.32 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.9141, allocations: 12.12 kB / 1.326 GB, free: 4.316 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.9145, allocations: 216 kB / 1.326 GB, free: 4.152 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.9145, allocations: 0 / 1.326 GB, free: 4.152 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.9145, allocations: 10.75 kB / 1.326 GB, free: 4.145 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.9145, allocations: 2.562 kB / 1.326 GB, free: 4.145 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.9148, allocations: 178.8 kB / 1.326 GB, free: 4.066 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.9151, allocations: 276.7 kB / 1.326 GB, free: 3.777 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007646/0.9159, allocations: 392.3 kB / 1.327 GB, free: 3.516 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.9161, allocations: 166.5 kB / 1.327 GB, free: 3.406 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/0.9164, allocations: 195.6 kB / 1.327 GB, free: 3.199 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.9165, allocations: 38.09 kB / 1.327 GB, free: 3.156 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 1.453e-06/0.9165, allocations: 0 / 1.327 GB, free: 3.156 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.0006857/0.9171, allocations: 396.4 kB / 1.328 GB, free: 2.957 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.9172, allocations: 188.5 kB / 1.328 GB, free: 2.734 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.705e-05/0.9173, allocations: 91.02 kB / 1.328 GB, free: 2.637 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.9173, allocations: 31.89 kB / 1.328 GB, free: 2.602 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.879e-05/0.9174, allocations: 84.64 kB / 1.328 GB, free: 2.512 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.9175, allocations: 108.2 kB / 1.328 GB, free: 2.418 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/0.9176, allocations: 55.03 kB / 1.328 GB, free: 2.379 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9177, allocations: 323.3 kB / 1.328 GB, free: 2.059 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.9179, allocations: 88.7 kB / 1.329 GB, free: 2.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.918, allocations: 139.4 kB / 1.329 GB, free: 1.922 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.9184, allocations: 264.9 kB / 1.329 GB, free: 1.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.9184, allocations: 3.938 kB / 1.329 GB, free: 1.766 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004547/0.9189, allocations: 289.2 kB / 1.329 GB, free: 1.617 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.9189, allocations: 9.969 kB / 1.329 GB, free: 1.613 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.9189, allocations: 1.094 kB / 1.329 GB, free: 1.613 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.9189, allocations: 3.25 kB / 1.329 GB, free: 1.613 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.9192, allocations: 62.2 kB / 1.329 GB, free: 1.594 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.9192, allocations: 2.312 kB / 1.329 GB, free: 1.594 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.368e-05/0.9193, allocations: 19.48 kB / 1.329 GB, free: 1.578 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.9193, allocations: 12.83 kB / 1.329 GB, free: 1.574 MB / 1.014 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.0001172/0.9194, allocations: 137.5 kB / 1.329 GB, free: 1.441 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.9194, allocations: 15.34 kB / 1.329 GB, free: 1.434 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006216/0.9201, allocations: 371.1 kB / 1.33 GB, free: 1.223 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.9201, allocations: 5.75 kB / 1.33 GB, free: 1.223 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9201, allocations: 1.375 kB / 1.33 GB, free: 1.223 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.9201, allocations: 1.531 kB / 1.33 GB, free: 1.223 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.9203, allocations: 257.5 kB / 1.33 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.9203, allocations: 5.766 kB / 1.33 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.9206, allocations: 57.72 kB / 1.33 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.9206, allocations: 4.656 kB / 1.33 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.9206, allocations: 12.05 kB / 1.33 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.9206, allocations: 10.22 kB / 1.33 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9206, allocations: 2.219 kB / 1.33 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/0.9211, allocations: 342.9 kB / 1.33 GB, free: 0.707 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.9212, allocations: 126.8 kB / 1.331 GB, free: 0.582 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.9212, allocations: 8.125 kB / 1.331 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.9213, allocations: 6.75 kB / 1.331 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.9213, allocations: 26.91 kB / 1.331 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.9213, allocations: 12.23 kB / 1.331 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.9214, allocations: 76.66 kB / 1.331 GB, free: 492 kB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9214, allocations: 0 / 1.331 GB, free: 492 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003798/0.9218, allocations: 103 kB / 1.331 GB, free: 464 kB / 1.014 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.00109/0.9229, allocations: 0.9776 MB / 1.332 GB, free: 15.65 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003991/0.9233, allocations: 231.2 kB / 1.332 GB, free: 15.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9233, allocations: 1.312 kB / 1.332 GB, free: 15.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.9234, allocations: 131.4 kB / 1.332 GB, free: 15.51 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.9236, allocations: 17.34 kB / 1.332 GB, free: 15.5 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007612/0.9244, allocations: 447.1 kB / 1.333 GB, free: 15.16 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.9247, allocations: 0.7146 MB / 1.333 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002128/0.9249, allocations: 104.3 kB / 1.333 GB, free: 14.41 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.659e-05/0.925, allocations: 41.22 kB / 1.333 GB, free: 14.38 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.925, allocations: 0 / 1.333 GB, free: 14.38 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.9456, allocations: 4.216 MB / 1.337 GB, free: 12.24 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.057/9.002, allocations: 10.77 kB / 1.337 GB, free: 12.23 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.287537709984463]