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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002056/0.002056, allocations: 109.1 kB / 16.45 MB, free: 6.449 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.002364/0.002364, allocations: 187.8 kB / 19.4 MB, free: 3.66 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.473/1.473, allocations: 225.6 MB / 247.8 MB, free: 3.758 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.94/2.94, allocations: 497.2 MB / 0.7812 GB, free: 12.08 MB / 0.6231 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 72.05 kB / 1.134 GB, free: 13.16 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.125, allocations: 173.9 MB / 1.304 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.001978/1.127, allocations: 0.6017 MB / 1.305 GB, free: 31.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002557/1.129, allocations: 1.729 MB / 1.306 GB, free: 30.51 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.724e-05/1.129, allocations: 0 / 1.306 GB, free: 30.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.432e-05/1.129, allocations: 7.875 kB / 1.306 GB, free: 30.5 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.733e-05/1.13, allocations: 4 kB / 1.306 GB, free: 30.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/1.131, allocations: 310.5 kB / 1.307 GB, free: 30.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001884/1.131, allocations: 131 kB / 1.307 GB, free: 30.33 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/1.131, allocations: 2.469 kB / 1.307 GB, free: 30.33 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.706e-05/1.131, allocations: 49.47 kB / 1.307 GB, free: 30.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/1.131, allocations: 56.8 kB / 1.307 GB, free: 30.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/1.131, allocations: 5.438 kB / 1.307 GB, free: 30.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004829/1.132, allocations: 342.7 kB / 1.307 GB, free: 30.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.729e-05/1.132, allocations: 40.28 kB / 1.307 GB, free: 30.18 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/1.132, allocations: 41.38 kB / 1.307 GB, free: 30.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003453/1.132, allocations: 277.2 kB / 1.307 GB, free: 30.08 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/1.132, allocations: 4 kB / 1.307 GB, free: 30.07 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.122e-06/1.132, allocations: 0 / 1.307 GB, free: 30.07 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.863e-06/1.132, allocations: 0 / 1.307 GB, free: 30.07 MB / 1.061 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.0006538/1.133, allocations: 443.1 kB / 1.308 GB, free: 29.67 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/1.133, allocations: 11.83 kB / 1.308 GB, free: 29.67 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/1.133, allocations: 47.22 kB / 1.308 GB, free: 29.62 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/1.133, allocations: 11.84 kB / 1.308 GB, free: 29.62 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.763e-05/1.133, allocations: 175.2 kB / 1.308 GB, free: 29.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/1.133, allocations: 13.59 kB / 1.308 GB, free: 29.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/1.133, allocations: 16.38 kB / 1.308 GB, free: 29.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/1.133, allocations: 220.1 kB / 1.308 GB, free: 29.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.133, allocations: 0 / 1.308 GB, free: 29.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/1.133, allocations: 10.78 kB / 1.308 GB, free: 29.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/1.133, allocations: 2.625 kB / 1.308 GB, free: 29.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/1.134, allocations: 182.9 kB / 1.309 GB, free: 29.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002533/1.134, allocations: 274.1 kB / 1.309 GB, free: 28.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006119/1.134, allocations: 391.1 kB / 1.309 GB, free: 28.74 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/1.135, allocations: 170.3 kB / 1.309 GB, free: 28.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003441/1.135, allocations: 200.2 kB / 1.31 GB, free: 28.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/1.135, allocations: 41.34 kB / 1.31 GB, free: 28.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.302e-06/1.135, allocations: 3.938 kB / 1.31 GB, free: 28.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.0006049/1.136, allocations: 385 kB / 1.31 GB, free: 28.28 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/1.136, allocations: 190.8 kB / 1.31 GB, free: 28.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.104e-05/1.136, allocations: 96.14 kB / 1.31 GB, free: 27.95 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/1.136, allocations: 29.7 kB / 1.31 GB, free: 27.92 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.687e-05/1.136, allocations: 80.7 kB / 1.31 GB, free: 27.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.843e-05/1.136, allocations: 104.5 kB / 1.31 GB, free: 27.75 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.656e-05/1.136, allocations: 56.72 kB / 1.311 GB, free: 27.72 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.426e-05/1.136, allocations: 326.8 kB / 1.311 GB, free: 27.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/1.136, allocations: 88.06 kB / 1.311 GB, free: 27.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/1.136, allocations: 136.8 kB / 1.311 GB, free: 27.31 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/1.136, allocations: 260.5 kB / 1.311 GB, free: 27.19 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.136, allocations: 4 kB / 1.311 GB, free: 27.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003556/1.137, allocations: 295.4 kB / 1.312 GB, free: 27.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.137, allocations: 7.906 kB / 1.312 GB, free: 27.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.137, allocations: 0 / 1.312 GB, free: 27.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/1.137, allocations: 2.906 kB / 1.312 GB, free: 27.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/1.137, allocations: 56.38 kB / 1.312 GB, free: 27.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/1.137, allocations: 6.406 kB / 1.312 GB, free: 27.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.534e-05/1.137, allocations: 18.72 kB / 1.312 GB, free: 27.05 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/1.137, allocations: 16.02 kB / 1.312 GB, free: 27.05 MB / 1.061 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 8.447e-05/1.137, allocations: 151.4 kB / 1.312 GB, free: 26.91 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/1.137, allocations: 9.703 kB / 1.312 GB, free: 26.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000512/1.138, allocations: 358.7 kB / 1.312 GB, free: 26.76 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/1.138, allocations: 10.3 kB / 1.312 GB, free: 26.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.138, allocations: 2.594 kB / 1.312 GB, free: 26.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/1.138, allocations: 2.75 kB / 1.312 GB, free: 26.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/1.138, allocations: 258.6 kB / 1.312 GB, free: 26.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.138, allocations: 6.906 kB / 1.312 GB, free: 26.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/1.138, allocations: 58.36 kB / 1.312 GB, free: 26.51 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/1.138, allocations: 2.844 kB / 1.312 GB, free: 26.51 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/1.138, allocations: 13.09 kB / 1.313 GB, free: 26.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/1.138, allocations: 2.875 kB / 1.313 GB, free: 26.5 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.138, allocations: 2.875 kB / 1.313 GB, free: 26.5 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/1.139, allocations: 344.6 kB / 1.313 GB, free: 26.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-05/1.139, allocations: 117.8 kB / 1.313 GB, free: 26.21 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/1.139, allocations: 2.906 kB / 1.313 GB, free: 26.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/1.139, allocations: 6.938 kB / 1.313 GB, free: 26.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/1.139, allocations: 25.17 kB / 1.313 GB, free: 26.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/1.139, allocations: 13.84 kB / 1.313 GB, free: 26.2 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.137e-05/1.139, allocations: 82.89 kB / 1.313 GB, free: 26.12 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.139, allocations: 0 / 1.313 GB, free: 26.12 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004389/1.139, allocations: 98.31 kB / 1.313 GB, free: 26.1 MB / 1.061 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.0009323/1.14, allocations: 0.9932 MB / 1.314 GB, free: 25.35 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003615/1.141, allocations: 238.4 kB / 1.314 GB, free: 25.29 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.141, allocations: 2.625 kB / 1.314 GB, free: 25.29 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/1.141, allocations: 125.9 kB / 1.314 GB, free: 25.26 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/1.141, allocations: 20.67 kB / 1.315 GB, free: 25.25 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007156/1.142, allocations: 436.4 kB / 1.315 GB, free: 24.98 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/1.142, allocations: 0.7126 MB / 1.316 GB, free: 24.28 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001983/1.142, allocations: 107.2 kB / 1.316 GB, free: 24.27 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/1.142, allocations: 44.38 kB / 1.316 GB, free: 24.25 MB / 1.061 GB Notification: Performance of SimCode: time 3.61e-07/1.142, allocations: 2.625 kB / 1.316 GB, free: 24.25 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/1.171, allocations: 4.155 MB / 1.32 GB, free: 23.7 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/9.459, allocations: 16.95 kB / 1.32 GB, free: 23.69 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_EpsilonNTUZ.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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.994612787850201]