Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001352/0.001352, allocations: 114.3 kB / 17.13 MB, free: 5.938 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.001448/0.001448, allocations: 197.2 kB / 20.08 MB, free: 3 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.43/1.43, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.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.579/2.579, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 177] 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: translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 59.91 kB / 1.057 GB, free: 1.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.3469, allocations: 160.7 MB / 1.214 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04575/0.3927, allocations: 41.89 MB / 1.255 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7824/1.175, allocations: 10.41 MB / 1.265 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/1.177, allocations: 56.66 kB / 1.265 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/1.179, allocations: 0.6703 MB / 1.266 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005203/1.184, allocations: 1.977 MB / 1.268 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003248/1.187, allocations: 1.192 MB / 1.269 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005112/1.192, allocations: 3.395 MB / 1.272 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/1.194, allocations: 0.8647 MB / 1.273 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003566/1.198, allocations: 1.265 MB / 1.274 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001966/1.2, allocations: 0.9312 MB / 1.275 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002444/1.2, allocations: 103.8 kB / 1.275 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002618/1.203, allocations: 0.8843 MB / 1.276 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003652/1.203, allocations: 293 kB / 1.276 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/1.204, allocations: 0.6333 MB / 1.277 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004343/1.208, allocations: 1.932 MB / 1.279 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.208, allocations: 0.5938 kB / 1.279 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.555e-06/1.208, allocations: 0 / 1.279 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.21e-05/1.208, allocations: 0.5625 kB / 1.279 GB, free: 6.93 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003329/1.212, allocations: 1.557 MB / 1.281 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/1.212, allocations: 10.25 kB / 1.281 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004382/1.212, allocations: 141.5 kB / 1.281 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/1.214, allocations: 1.113 MB / 1.282 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-05/1.214, allocations: 56.34 kB / 1.282 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/1.214, allocations: 71.22 kB / 1.282 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/1.216, allocations: 0.7916 MB / 1.283 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/1.216, allocations: 1.125 kB / 1.283 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.511e-05/1.216, allocations: 31.53 kB / 1.283 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/1.216, allocations: 19.55 kB / 1.283 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/1.217, allocations: 0.5717 MB / 1.283 GB, free: 5.508 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005131/1.223, allocations: 3.562 MB / 1.287 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007089/1.223, allocations: 242.5 kB / 1.287 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/1.224, allocations: 170.5 kB / 1.287 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003833/1.224, allocations: 0.6561 MB / 1.288 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/1.224, allocations: 40.97 kB / 1.288 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.745e-06/1.224, allocations: 0 / 1.288 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001412/1.225, allocations: 0.5135 MB / 1.288 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/1.225, allocations: 58.98 kB / 1.288 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.227, allocations: 0.944 MB / 1.289 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/1.227, allocations: 38.73 kB / 1.289 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/1.227, allocations: 0.5013 MB / 1.29 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/1.227, allocations: 120.2 kB / 1.29 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/1.227, allocations: 115.1 kB / 1.29 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.484e-05/1.227, allocations: 331.1 kB / 1.29 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/1.228, allocations: 165.3 kB / 1.291 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/1.228, allocations: 350.6 kB / 1.291 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/1.229, allocations: 0.5081 MB / 1.291 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.229, allocations: 1.094 kB / 1.291 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001232/1.23, allocations: 0.6248 MB / 1.292 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/1.23, allocations: 9.75 kB / 1.292 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.23, allocations: 9.594 kB / 1.292 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/1.23, allocations: 8 kB / 1.292 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/1.231, allocations: 124.3 kB / 1.292 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/1.231, allocations: 12.14 kB / 1.292 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008226/1.232, allocations: 88.86 kB / 1.292 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/1.232, allocations: 28.41 kB / 1.292 GB, free: 1.348 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0004364/1.232, allocations: 282.5 kB / 1.292 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/1.232, allocations: 104 kB / 1.293 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/1.233, allocations: 480.4 kB / 1.293 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/1.233, allocations: 6.484 kB / 1.293 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/1.233, allocations: 0.6094 kB / 1.293 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007575/1.234, allocations: 460 kB / 1.293 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/1.237, allocations: 1.362 MB / 1.295 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.237, allocations: 1.156 kB / 1.295 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/1.237, allocations: 79.31 kB / 1.295 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/1.237, allocations: 2.75 kB / 1.295 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/1.237, allocations: 14.08 kB / 1.295 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/1.237, allocations: 3.875 kB / 1.295 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.237, allocations: 5.344 kB / 1.295 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/1.238, allocations: 0.7653 MB / 1.296 GB, free: 16.33 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004646/1.239, allocations: 228.8 kB / 1.296 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/1.239, allocations: 13.28 kB / 1.296 GB, free: 16.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005291/1.24, allocations: 33.47 kB / 1.296 GB, free: 16.17 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/1.24, allocations: 28.3 kB / 1.296 GB, free: 16.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/1.24, allocations: 20.17 kB / 1.296 GB, free: 16.17 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009243/1.241, allocations: 0.6615 MB / 1.297 GB, free: 16.02 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/1.241, allocations: 0 / 1.297 GB, free: 16.02 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001218/1.242, allocations: 338.3 kB / 1.297 GB, free: 15.95 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0009016/1.243, allocations: 397 kB / 1.297 GB, free: 15.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001036/1.244, allocations: 398.8 kB / 1.298 GB, free: 15.69 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.244, allocations: 1.125 kB / 1.298 GB, free: 15.69 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004189/1.244, allocations: 185.1 kB / 1.298 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/1.247, allocations: 0.6133 MB / 1.298 GB, free: 15.47 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/1.251, allocations: 1.654 MB / 1.3 GB, free: 14.51 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008102/1.252, allocations: 1.041 MB / 1.301 GB, free: 13.77 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/1.252, allocations: 83.89 kB / 1.301 GB, free: 13.76 MB / 1.014 GB Notification: Performance of SimCode: time 9.61e-07/1.252, allocations: 0 / 1.301 GB, free: 13.76 MB / 1.014 GB Notification: Performance of Templates: time 0.03871/1.291, allocations: 18.2 MB / 1.319 GB, free: 10.08 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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: 14.832261209143326]