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.001263/0.001263, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001353/0.001353, allocations: 189.4 kB / 22.23 MB, free: 5.133 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.419/1.419, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.67/2.67, allocations: 443.4 MB / 0.7321 GB, free: 12.29 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002892/0.002892, allocations: 63.89 kB / 1.061 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9579/0.9608, allocations: 160.8 MB / 1.218 GB, free: 3.594 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.05789/1.019, allocations: 42.29 MB / 1.26 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0179/1.037, allocations: 10.45 MB / 1.27 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002821/1.039, allocations: 79.31 kB / 1.27 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002497/1.042, allocations: 0.6755 MB / 1.271 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006761/1.049, allocations: 2.01 MB / 1.273 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003819/1.052, allocations: 1.239 MB / 1.274 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005992/1.058, allocations: 3.486 MB / 1.277 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001873/1.06, allocations: 0.8223 MB / 1.278 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003969/1.064, allocations: 1.286 MB / 1.279 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/1.066, allocations: 0.9334 MB / 1.28 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004148/1.067, allocations: 100 kB / 1.28 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003023/1.07, allocations: 0.9124 MB / 1.281 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005829/1.07, allocations: 290.8 kB / 1.282 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001474/1.072, allocations: 0.6221 MB / 1.282 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004748/1.077, allocations: 1.933 MB / 1.284 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.077, allocations: 0 / 1.284 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.034e-06/1.077, allocations: 0 / 1.284 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.645e-05/1.077, allocations: 4 kB / 1.284 GB, free: 3.867 MB / 0.9825 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.003973/1.081, allocations: 1.556 MB / 1.286 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.081, allocations: 8.031 kB / 1.286 GB, free: 2.246 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005451/1.081, allocations: 144.1 kB / 1.286 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002436/1.084, allocations: 1.112 MB / 1.287 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.338e-05/1.084, allocations: 58 kB / 1.287 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/1.084, allocations: 72 kB / 1.287 GB, free: 0.8242 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/1.086, allocations: 0.7905 MB / 1.288 GB, free: 0 / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/1.086, allocations: 0 / 1.288 GB, free: 0 / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.652e-05/1.086, allocations: 28.08 kB / 1.288 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-05/1.086, allocations: 27.98 kB / 1.288 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/1.087, allocations: 0.5749 MB / 1.288 GB, free: 15.37 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.005271/1.092, allocations: 3.568 MB / 1.292 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/1.093, allocations: 254.3 kB / 1.292 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/1.093, allocations: 160.8 kB / 1.292 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006484/1.094, allocations: 0.661 MB / 1.293 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/1.094, allocations: 34.56 kB / 1.293 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.894e-06/1.094, allocations: 0 / 1.293 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001343/1.095, allocations: 0.5168 MB / 1.293 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/1.095, allocations: 55.41 kB / 1.293 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001474/1.097, allocations: 0.9495 MB / 1.294 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.697e-05/1.097, allocations: 33.7 kB / 1.294 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/1.097, allocations: 0.5004 MB / 1.295 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/1.097, allocations: 123 kB / 1.295 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/1.098, allocations: 118.2 kB / 1.295 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.098, allocations: 329.9 kB / 1.295 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/1.098, allocations: 165.2 kB / 1.296 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005368/1.099, allocations: 351.8 kB / 1.296 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008848/1.1, allocations: 0.5116 MB / 1.296 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.1, allocations: 4 kB / 1.296 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001359/1.101, allocations: 0.6142 MB / 1.297 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/1.101, allocations: 11.98 kB / 1.297 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/1.101, allocations: 4 kB / 1.297 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.262e-05/1.101, allocations: 8 kB / 1.297 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004886/1.102, allocations: 123.8 kB / 1.297 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/1.102, allocations: 11.94 kB / 1.297 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000772/1.102, allocations: 83.56 kB / 1.297 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-05/1.102, allocations: 31.98 kB / 1.297 GB, free: 5.574 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.0005169/1.103, allocations: 277.6 kB / 1.298 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003808/1.103, allocations: 103.3 kB / 1.298 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/1.105, allocations: 491.4 kB / 1.298 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/1.105, allocations: 8 kB / 1.298 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/1.105, allocations: 0 / 1.298 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000846/1.105, allocations: 457.8 kB / 1.299 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/1.108, allocations: 1.371 MB / 1.3 GB, free: 2.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/1.108, allocations: 4 kB / 1.3 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000382/1.109, allocations: 79.83 kB / 1.3 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/1.109, allocations: 3.938 kB / 1.3 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/1.109, allocations: 16.16 kB / 1.3 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/1.109, allocations: 0 / 1.3 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/1.109, allocations: 8.047 kB / 1.3 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/1.11, allocations: 0.7793 MB / 1.301 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005868/1.111, allocations: 236.2 kB / 1.301 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/1.111, allocations: 8 kB / 1.301 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000614/1.112, allocations: 32.03 kB / 1.301 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.295e-05/1.112, allocations: 23.95 kB / 1.301 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/1.112, allocations: 19.98 kB / 1.301 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001113/1.113, allocations: 0.6666 MB / 1.302 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.113, allocations: 0 / 1.302 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001255/1.114, allocations: 339.3 kB / 1.302 GB, free: 0.5234 MB / 0.9981 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.001022/1.115, allocations: 395.4 kB / 1.302 GB, free: 144 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001042/1.116, allocations: 405.8 kB / 1.303 GB, free: 15.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/1.116, allocations: 8.125 kB / 1.303 GB, free: 15.74 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004047/1.117, allocations: 179.7 kB / 1.303 GB, free: 15.56 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/1.12, allocations: 0.6156 MB / 1.304 GB, free: 14.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/1.123, allocations: 1.628 MB / 1.305 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000905/1.124, allocations: 1.036 MB / 1.306 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009542/1.125, allocations: 192.7 kB / 1.306 GB, free: 12.03 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/1.125, allocations: 79.42 kB / 1.306 GB, free: 11.95 MB / 1.014 GB Notification: Performance of SimCode: time 1.302e-06/1.125, allocations: 0 / 1.306 GB, free: 11.95 MB / 1.014 GB Notification: Performance of Templates: time 0.04328/1.169, allocations: 21.82 MB / 1.328 GB, free: 6.398 MB / 1.029 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.840994398109615]