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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.803/2.803, allocations: 443.5 MB / 0.7287 GB, free: 13.25 MB / 0.5919 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 71.89 kB / 1.056 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 160.7 MB / 1.213 GB, free: 3.902 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00205/1.024, allocations: 0.6068 MB / 1.214 GB, free: 3.453 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003054/1.027, allocations: 1.73 MB / 1.215 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.599e-05/1.027, allocations: 1.125 kB / 1.215 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.915e-05/1.027, allocations: 3.984 kB / 1.215 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.73e-05/1.027, allocations: 4 kB / 1.215 GB, free: 2.074 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001115/1.028, allocations: 305.8 kB / 1.216 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002276/1.029, allocations: 132.3 kB / 1.216 GB, free: 1.816 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/1.029, allocations: 2.125 kB / 1.216 GB, free: 1.816 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.107e-05/1.029, allocations: 52.48 kB / 1.216 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/1.029, allocations: 53.34 kB / 1.216 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/1.029, allocations: 6.156 kB / 1.216 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005807/1.03, allocations: 341.9 kB / 1.216 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/1.03, allocations: 41.83 kB / 1.216 GB, free: 1.559 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.088e-05/1.03, allocations: 48.28 kB / 1.216 GB, free: 1.523 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004288/1.03, allocations: 278.7 kB / 1.216 GB, free: 1.355 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.03, allocations: 4 kB / 1.216 GB, free: 1.352 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.314e-06/1.03, allocations: 0 / 1.216 GB, free: 1.352 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.693e-06/1.03, allocations: 5.062 kB / 1.216 GB, free: 1.348 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.0008025/1.031, allocations: 446.6 kB / 1.217 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.031, allocations: 9.219 kB / 1.217 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/1.031, allocations: 44.5 kB / 1.217 GB, free: 0.875 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.837e-05/1.031, allocations: 17.41 kB / 1.217 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/1.031, allocations: 174.7 kB / 1.217 GB, free: 0.6562 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/1.031, allocations: 10.19 kB / 1.217 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/1.031, allocations: 15.53 kB / 1.217 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000398/1.032, allocations: 210.3 kB / 1.217 GB, free: 496 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/1.032, allocations: 9.266 kB / 1.217 GB, free: 488 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/1.032, allocations: 9.156 kB / 1.217 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/1.032, allocations: 4.656 kB / 1.217 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/1.032, allocations: 174.6 kB / 1.218 GB, free: 404 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/1.032, allocations: 279.2 kB / 1.218 GB, free: 104 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008108/1.033, allocations: 393.3 kB / 1.218 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/1.034, allocations: 166.7 kB / 1.218 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004136/1.034, allocations: 201 kB / 1.219 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/1.034, allocations: 41.61 kB / 1.219 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/1.034, allocations: 0 / 1.219 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.0007407/1.035, allocations: 389.5 kB / 1.219 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/1.035, allocations: 184 kB / 1.219 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.807e-05/1.035, allocations: 96.55 kB / 1.219 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/1.035, allocations: 30.58 kB / 1.219 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/1.035, allocations: 80.7 kB / 1.219 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/1.035, allocations: 107.8 kB / 1.219 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.918e-05/1.035, allocations: 55.97 kB / 1.219 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001835/1.035, allocations: 327.8 kB / 1.22 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/1.035, allocations: 81.06 kB / 1.22 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/1.036, allocations: 143.2 kB / 1.22 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/1.036, allocations: 262.7 kB / 1.22 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.036, allocations: 4 kB / 1.22 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004896/1.037, allocations: 292.7 kB / 1.221 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/1.037, allocations: 5.562 kB / 1.221 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/1.037, allocations: 1.281 kB / 1.221 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.037, allocations: 3.406 kB / 1.221 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/1.037, allocations: 58.31 kB / 1.221 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/1.037, allocations: 2.625 kB / 1.221 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/1.037, allocations: 19.25 kB / 1.221 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/1.037, allocations: 12.81 kB / 1.221 GB, free: 13.91 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.0001484/1.037, allocations: 149.1 kB / 1.221 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/1.037, allocations: 11.52 kB / 1.221 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006654/1.038, allocations: 359.8 kB / 1.221 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/1.038, allocations: 4.344 kB / 1.221 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.038, allocations: 2.219 kB / 1.221 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/1.038, allocations: 6.141 kB / 1.221 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/1.038, allocations: 256.7 kB / 1.221 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.038, allocations: 1.062 kB / 1.221 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/1.039, allocations: 58.28 kB / 1.221 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/1.039, allocations: 6.5 kB / 1.221 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/1.039, allocations: 13.39 kB / 1.221 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.039, allocations: 2.312 kB / 1.221 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.039, allocations: 2.062 kB / 1.221 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/1.039, allocations: 345 kB / 1.222 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/1.039, allocations: 119.9 kB / 1.222 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/1.039, allocations: 10.19 kB / 1.222 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.918e-05/1.039, allocations: 7.25 kB / 1.222 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/1.039, allocations: 23.34 kB / 1.222 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/1.039, allocations: 12.3 kB / 1.222 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.876e-05/1.04, allocations: 80.44 kB / 1.222 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/1.04, allocations: 0 / 1.222 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000458/1.04, allocations: 102 kB / 1.222 GB, free: 12.79 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.001299/1.041, allocations: 0.9798 MB / 1.223 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000423/1.042, allocations: 235.9 kB / 1.223 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.042, allocations: 0 / 1.223 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/1.042, allocations: 128 kB / 1.223 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/1.042, allocations: 12.38 kB / 1.223 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008365/1.043, allocations: 445 kB / 1.224 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/1.043, allocations: 0.7144 MB / 1.225 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.00024/1.043, allocations: 109.7 kB / 1.225 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.131e-05/1.044, allocations: 41.12 kB / 1.225 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of SimCode: time 4.41e-07/1.044, allocations: 0 / 1.225 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/1.072, allocations: 4.162 MB / 1.229 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.272/9.344, allocations: 6.906 kB / 1.229 GB, free: 7.531 MB / 0.9356 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_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.654324930626899]