Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001878/0.001878, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.002052/0.002052, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.544/1.544, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.785/2.785, allocations: 476.7 MB / 0.7628 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 71.89 kB / 1.107 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.118/1.12, allocations: 168.7 MB / 1.272 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04885/1.169, allocations: 42.28 MB / 1.313 GB, free: 9.867 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01902/1.188, allocations: 10.46 MB / 1.323 GB, free: 2.391 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003406/1.191, allocations: 59.75 kB / 1.324 GB, free: 2.367 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002561/1.194, allocations: 0.6726 MB / 1.324 GB, free: 1.965 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008178/1.202, allocations: 1.971 MB / 1.326 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004562/1.206, allocations: 1.204 MB / 1.327 GB, free: 132 kB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006779/1.213, allocations: 3.406 MB / 1.331 GB, free: 14.49 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/1.215, allocations: 0.8098 MB / 1.331 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004128/1.219, allocations: 1.273 MB / 1.333 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001915/1.221, allocations: 0.9314 MB / 1.334 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001887/1.221, allocations: 103.3 kB / 1.334 GB, free: 13.05 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002661/1.224, allocations: 0.8845 MB / 1.335 GB, free: 12.7 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00039/1.224, allocations: 294 kB / 1.335 GB, free: 12.52 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009363/1.225, allocations: 0.6343 MB / 1.335 GB, free: 12.13 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005552/1.231, allocations: 1.929 MB / 1.337 GB, free: 11.41 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/1.231, allocations: 1.859 kB / 1.337 GB, free: 11.41 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.785e-06/1.231, allocations: 0 / 1.337 GB, free: 11.41 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.494e-05/1.231, allocations: 0 / 1.337 GB, free: 11.41 MB / 1.045 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.005463/1.236, allocations: 1.557 MB / 1.339 GB, free: 10.33 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 7.184e-05/1.236, allocations: 9.875 kB / 1.339 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005982/1.237, allocations: 140.3 kB / 1.339 GB, free: 10.26 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/1.239, allocations: 1.112 MB / 1.34 GB, free: 9.598 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.211e-05/1.239, allocations: 55.62 kB / 1.34 GB, free: 9.57 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001356/1.239, allocations: 71.31 kB / 1.34 GB, free: 9.547 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/1.241, allocations: 0.7938 MB / 1.341 GB, free: 9.168 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/1.241, allocations: 1.125 kB / 1.341 GB, free: 9.168 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.521e-05/1.241, allocations: 26.81 kB / 1.341 GB, free: 9.148 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.818e-05/1.241, allocations: 23.59 kB / 1.341 GB, free: 9.145 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/1.243, allocations: 0.5708 MB / 1.342 GB, free: 8.945 MB / 1.045 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.006128/1.249, allocations: 3.562 MB / 1.345 GB, free: 6.344 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/1.249, allocations: 258.1 kB / 1.345 GB, free: 6.234 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/1.25, allocations: 163.8 kB / 1.345 GB, free: 6.18 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006762/1.25, allocations: 0.659 MB / 1.346 GB, free: 5.418 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/1.25, allocations: 37.16 kB / 1.346 GB, free: 5.375 MB / 1.045 GB Notification: Performance of pre-optimization done (n=31): time 2.364e-06/1.25, allocations: 5.375 kB / 1.346 GB, free: 5.371 MB / 1.045 GB Notification: Performance of matching and sorting (n=31): time 0.001535/1.252, allocations: 0.5132 MB / 1.347 GB, free: 5.172 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.754e-05/1.252, allocations: 56.52 kB / 1.347 GB, free: 5.109 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/1.254, allocations: 0.944 MB / 1.348 GB, free: 4.711 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 8.678e-05/1.254, allocations: 36.45 kB / 1.348 GB, free: 4.672 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005618/1.254, allocations: 0.4977 MB / 1.348 GB, free: 4.27 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/1.255, allocations: 119.9 kB / 1.348 GB, free: 4.176 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002256/1.255, allocations: 115 kB / 1.348 GB, free: 4.113 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001822/1.255, allocations: 333.7 kB / 1.349 GB, free: 3.793 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/1.256, allocations: 161.5 kB / 1.349 GB, free: 3.742 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000622/1.256, allocations: 352.3 kB / 1.349 GB, free: 3.473 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009254/1.257, allocations: 0.5124 MB / 1.35 GB, free: 3.121 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.257, allocations: 1.156 kB / 1.35 GB, free: 3.121 MB / 1.045 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0014/1.258, allocations: 0.6203 MB / 1.35 GB, free: 2.859 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/1.258, allocations: 11.92 kB / 1.35 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.259, allocations: 9.938 kB / 1.35 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/1.259, allocations: 7.844 kB / 1.35 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/1.259, allocations: 123.3 kB / 1.35 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/1.259, allocations: 9.969 kB / 1.35 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008134/1.26, allocations: 82.48 kB / 1.35 GB, free: 2.793 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.86e-05/1.26, allocations: 30.08 kB / 1.351 GB, free: 2.785 MB / 1.045 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.0005696/1.26, allocations: 283.8 kB / 1.351 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/1.261, allocations: 108.6 kB / 1.351 GB, free: 2.512 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/1.262, allocations: 482.7 kB / 1.351 GB, free: 2.32 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/1.262, allocations: 4.531 kB / 1.351 GB, free: 2.32 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/1.262, allocations: 2.125 kB / 1.351 GB, free: 2.32 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000834/1.263, allocations: 454.6 kB / 1.352 GB, free: 2.062 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/1.266, allocations: 1.365 MB / 1.353 GB, free: 1.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/1.266, allocations: 2.125 kB / 1.353 GB, free: 1.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003679/1.266, allocations: 77.91 kB / 1.353 GB, free: 1.312 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/1.266, allocations: 6.812 kB / 1.353 GB, free: 1.309 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.143e-05/1.266, allocations: 9.156 kB / 1.353 GB, free: 1.305 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/1.266, allocations: 4.125 kB / 1.353 GB, free: 1.305 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.266, allocations: 2.156 kB / 1.353 GB, free: 1.305 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/1.268, allocations: 0.7698 MB / 1.354 GB, free: 0.8906 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004845/1.268, allocations: 238.4 kB / 1.354 GB, free: 0.6992 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/1.268, allocations: 8.406 kB / 1.354 GB, free: 0.6953 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005105/1.269, allocations: 27.05 kB / 1.354 GB, free: 0.6914 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/1.269, allocations: 32.59 kB / 1.354 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/1.269, allocations: 24.5 kB / 1.354 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001076/1.27, allocations: 0.6585 MB / 1.355 GB, free: 396 kB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/1.27, allocations: 0 / 1.355 GB, free: 396 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.001395/1.271, allocations: 342.9 kB / 1.355 GB, free: 316 kB / 1.045 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.001083/1.272, allocations: 396.3 kB / 1.356 GB, free: 120 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001126/1.274, allocations: 410.8 kB / 1.356 GB, free: 15.99 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.274, allocations: 1.094 kB / 1.356 GB, free: 15.99 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004257/1.274, allocations: 175 kB / 1.356 GB, free: 15.94 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/1.277, allocations: 0.6073 MB / 1.357 GB, free: 15.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/1.28, allocations: 1.633 MB / 1.358 GB, free: 14.8 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008438/1.281, allocations: 1.047 MB / 1.359 GB, free: 14.01 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001061/1.282, allocations: 198.7 kB / 1.36 GB, free: 13.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/1.282, allocations: 86.53 kB / 1.36 GB, free: 13.89 MB / 1.061 GB Notification: Performance of SimCode: time 1.293e-06/1.282, allocations: 1.094 kB / 1.36 GB, free: 13.89 MB / 1.061 GB Notification: Performance of Templates: time 0.04434/1.326, allocations: 21.64 MB / 1.381 GB, free: 3.051 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.20801153499633]