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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 189.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 249.9 MB, free: 13.59 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.766/2.766, allocations: 476.7 MB / 0.7634 GB, free: 10.9 MB / 0.6231 GB [Timeout remaining time 87] 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=502,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=502,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.001931/0.001931, allocations: 67.89 kB / 1.108 GB, free: 7.457 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9061/0.908, allocations: 168.7 MB / 1.272 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04484/0.9528, allocations: 41.88 MB / 1.313 GB, free: 10.54 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01571/0.9685, allocations: 10.44 MB / 1.323 GB, free: 88 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.9706, allocations: 55.69 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.9725, allocations: 0.6677 MB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006126/0.9786, allocations: 1.975 MB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003432/0.982, allocations: 1.202 MB / 1.327 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004777/0.9868, allocations: 3.403 MB / 1.331 GB, free: 8.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.9882, allocations: 0.8646 MB / 1.331 GB, free: 7.887 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003046/0.9913, allocations: 1.274 MB / 1.333 GB, free: 6.617 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.9928, allocations: 0.9373 MB / 1.334 GB, free: 5.676 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.993, allocations: 100 kB / 1.334 GB, free: 5.578 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.9953, allocations: 0.8928 MB / 1.335 GB, free: 4.684 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.9956, allocations: 290.8 kB / 1.335 GB, free: 4.398 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008104/0.9964, allocations: 0.6299 MB / 1.335 GB, free: 3.766 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002989/0.9994, allocations: 1.933 MB / 1.337 GB, free: 1.828 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.9994, allocations: 0 / 1.337 GB, free: 1.828 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/0.9994, allocations: 0 / 1.337 GB, free: 1.828 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.9994, allocations: 0 / 1.337 GB, free: 1.828 MB / 1.029 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.002656/1.002, allocations: 1.56 MB / 1.339 GB, free: 216 kB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.002, allocations: 8.031 kB / 1.339 GB, free: 208 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003837/1.002, allocations: 148.1 kB / 1.339 GB, free: 60 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/1.004, allocations: 1.104 MB / 1.34 GB, free: 14.91 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/1.004, allocations: 58 kB / 1.34 GB, free: 14.86 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/1.005, allocations: 68 kB / 1.34 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/1.006, allocations: 0.7982 MB / 1.341 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/1.006, allocations: 4 kB / 1.341 GB, free: 13.95 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/1.006, allocations: 28 kB / 1.341 GB, free: 13.93 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/1.006, allocations: 16 kB / 1.341 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/1.007, allocations: 0.5711 MB / 1.342 GB, free: 13.34 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.005395/1.013, allocations: 3.557 MB / 1.345 GB, free: 9.551 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006698/1.013, allocations: 262.2 kB / 1.345 GB, free: 9.289 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/1.014, allocations: 172.7 kB / 1.346 GB, free: 9.117 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006929/1.014, allocations: 0.657 MB / 1.346 GB, free: 8.312 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/1.014, allocations: 38.56 kB / 1.346 GB, free: 8.266 MB / 1.045 GB Notification: Performance of pre-optimization done (n=31): time 2.395e-06/1.014, allocations: 0 / 1.346 GB, free: 8.266 MB / 1.045 GB Notification: Performance of matching and sorting (n=31): time 0.001564/1.016, allocations: 0.5169 MB / 1.347 GB, free: 7.742 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/1.016, allocations: 55.41 kB / 1.347 GB, free: 7.676 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/1.018, allocations: 0.9456 MB / 1.348 GB, free: 6.711 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.526e-05/1.018, allocations: 29.7 kB / 1.348 GB, free: 6.676 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005346/1.018, allocations: 0.4965 MB / 1.348 GB, free: 6.172 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/1.018, allocations: 122.9 kB / 1.348 GB, free: 6.051 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/1.018, allocations: 122.1 kB / 1.348 GB, free: 5.926 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.019, allocations: 329.9 kB / 1.349 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003871/1.019, allocations: 165 kB / 1.349 GB, free: 5.434 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/1.02, allocations: 344.7 kB / 1.349 GB, free: 5.027 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009713/1.021, allocations: 0.5148 MB / 1.35 GB, free: 4.441 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.021, allocations: 3.938 kB / 1.35 GB, free: 4.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001336/1.022, allocations: 0.6254 MB / 1.35 GB, free: 3.805 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/1.022, allocations: 8 kB / 1.35 GB, free: 3.797 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/1.022, allocations: 8 kB / 1.35 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.851e-05/1.022, allocations: 8 kB / 1.35 GB, free: 3.781 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/1.022, allocations: 124.3 kB / 1.35 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.148e-05/1.023, allocations: 15.92 kB / 1.35 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006635/1.023, allocations: 83.44 kB / 1.351 GB, free: 3.562 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/1.023, allocations: 24 kB / 1.351 GB, free: 3.539 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.0004388/1.024, allocations: 277.6 kB / 1.351 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/1.024, allocations: 107.3 kB / 1.351 GB, free: 3.152 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/1.025, allocations: 482.7 kB / 1.351 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/1.025, allocations: 7.984 kB / 1.351 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.025, allocations: 0 / 1.351 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007446/1.026, allocations: 453.2 kB / 1.352 GB, free: 2.195 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00224/1.028, allocations: 1.372 MB / 1.353 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.028, allocations: 4.156 kB / 1.353 GB, free: 0.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/1.028, allocations: 75.95 kB / 1.353 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/1.028, allocations: 11.88 kB / 1.353 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.177e-05/1.028, allocations: 15.98 kB / 1.353 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/1.028, allocations: 4 kB / 1.353 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.028, allocations: 0 / 1.353 GB, free: 0.6445 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/1.03, allocations: 0.7613 MB / 1.354 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/1.03, allocations: 244.3 kB / 1.354 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/1.03, allocations: 8 kB / 1.354 GB, free: 15.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005324/1.031, allocations: 27.95 kB / 1.354 GB, free: 15.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.886e-05/1.031, allocations: 27.95 kB / 1.354 GB, free: 15.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/1.031, allocations: 19.98 kB / 1.354 GB, free: 15.51 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009755/1.032, allocations: 0.6588 MB / 1.355 GB, free: 14.84 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.11e-07/1.032, allocations: 4 kB / 1.355 GB, free: 14.84 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001067/1.033, allocations: 339.3 kB / 1.355 GB, free: 14.5 MB / 1.061 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.0009417/1.034, allocations: 398.7 kB / 1.356 GB, free: 14.12 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001002/1.035, allocations: 412 kB / 1.356 GB, free: 13.71 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/1.035, allocations: 0 / 1.356 GB, free: 13.71 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004206/1.035, allocations: 173.2 kB / 1.356 GB, free: 13.55 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/1.038, allocations: 0.6115 MB / 1.357 GB, free: 12.95 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003426/1.041, allocations: 1.652 MB / 1.358 GB, free: 11.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008391/1.042, allocations: 1.04 MB / 1.36 GB, free: 10.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/1.043, allocations: 83.42 kB / 1.36 GB, free: 10.08 MB / 1.061 GB Notification: Performance of SimCode: time 1.002e-06/1.043, allocations: 0 / 1.36 GB, free: 10.08 MB / 1.061 GB Notification: Performance of Templates: time 0.03169/1.074, allocations: 18.18 MB / 1.377 GB, free: 8.051 MB / 1.076 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/jenkins1/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