Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 210.9 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.601/1.601, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.444/3.444, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 66.14 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5074/0.5095, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2176/0.7271, allocations: 142.4 MB / 1.466 GB, free: 2.125 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.003878/0.7309, allocations: 1.609 MB / 1.468 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003224/0.7313, allocations: 15.88 kB / 1.468 GB, free: 0.5 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000694/0.732, allocations: 162.9 kB / 1.468 GB, free: 348 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001637/0.7336, allocations: 0.5095 MB / 1.468 GB, free: 15.83 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/0.7349, allocations: 436.6 kB / 1.469 GB, free: 15.41 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0009031/0.7358, allocations: 0.5868 MB / 1.469 GB, free: 14.82 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003304/0.7361, allocations: 140.7 kB / 1.469 GB, free: 14.68 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001142/0.7373, allocations: 494.2 kB / 1.47 GB, free: 14.2 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002474/0.7375, allocations: 151.3 kB / 1.47 GB, free: 14.05 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.7375, allocations: 20 kB / 1.47 GB, free: 14.03 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.7386, allocations: 0.5768 MB / 1.471 GB, free: 13.45 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.7387, allocations: 83.73 kB / 1.471 GB, free: 13.37 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.7389, allocations: 107.4 kB / 1.471 GB, free: 13.26 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0007877/0.7397, allocations: 482.3 kB / 1.471 GB, free: 12.79 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.7397, allocations: 3.984 kB / 1.471 GB, free: 12.79 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7397, allocations: 0 / 1.471 GB, free: 12.79 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.7397, allocations: 3.938 kB / 1.471 GB, free: 12.78 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009812/0.7407, allocations: 0.5196 MB / 1.472 GB, free: 12.23 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.7407, allocations: 8.031 kB / 1.472 GB, free: 12.22 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003941/0.7411, allocations: 63.77 kB / 1.472 GB, free: 12.16 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006036/0.7417, allocations: 236.1 kB / 1.472 GB, free: 11.9 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.7417, allocations: 8 kB / 1.472 GB, free: 11.89 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.7418, allocations: 20 kB / 1.472 GB, free: 11.88 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.7423, allocations: 221.8 kB / 1.472 GB, free: 11.64 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.7423, allocations: 3.984 kB / 1.472 GB, free: 11.63 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.7423, allocations: 4 kB / 1.472 GB, free: 11.63 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.7423, allocations: 7.938 kB / 1.472 GB, free: 11.62 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.7426, allocations: 131.8 kB / 1.472 GB, free: 11.49 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.7438, allocations: 0.629 MB / 1.473 GB, free: 10.82 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.7441, allocations: 78.53 kB / 1.473 GB, free: 10.74 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.7443, allocations: 68.88 kB / 1.473 GB, free: 10.67 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002276/0.7445, allocations: 35.97 kB / 1.473 GB, free: 10.63 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.7445, allocations: 38.5 kB / 1.473 GB, free: 10.59 MB / 1.17 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.7445, allocations: 4 kB / 1.473 GB, free: 10.58 MB / 1.17 GB Notification: Performance of matching and sorting (n=10): time 0.0008042/0.7453, allocations: 213.4 kB / 1.474 GB, free: 10.37 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.7454, allocations: 55.34 kB / 1.474 GB, free: 10.3 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.7457, allocations: 229.9 kB / 1.474 GB, free: 10.07 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.7457, allocations: 29.7 kB / 1.474 GB, free: 10.04 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.7459, allocations: 148.3 kB / 1.474 GB, free: 9.887 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.299e-05/0.746, allocations: 39.69 kB / 1.474 GB, free: 9.848 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.7461, allocations: 25.72 kB / 1.474 GB, free: 9.816 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002017/0.7463, allocations: 330.8 kB / 1.474 GB, free: 9.484 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.7464, allocations: 48.83 kB / 1.474 GB, free: 9.434 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.7469, allocations: 217.6 kB / 1.475 GB, free: 9.172 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.7473, allocations: 123.3 kB / 1.475 GB, free: 9.039 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.7473, allocations: 4 kB / 1.475 GB, free: 9.035 MB / 1.17 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004979/0.7478, allocations: 161.4 kB / 1.475 GB, free: 8.871 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.7478, allocations: 4 kB / 1.475 GB, free: 8.867 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.7479, allocations: 0 / 1.475 GB, free: 8.867 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/0.7479, allocations: 4 kB / 1.475 GB, free: 8.863 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.7481, allocations: 23.92 kB / 1.475 GB, free: 8.84 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.7481, allocations: 4.5 kB / 1.475 GB, free: 8.836 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.7483, allocations: 23.91 kB / 1.475 GB, free: 8.812 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.7483, allocations: 8 kB / 1.475 GB, free: 8.805 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002768/0.7486, allocations: 148.1 kB / 1.475 GB, free: 8.656 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003261/0.7489, allocations: 225.5 kB / 1.475 GB, free: 8.387 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003276/0.7493, allocations: 115.4 kB / 1.475 GB, free: 8.262 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.7493, allocations: 3.938 kB / 1.475 GB, free: 8.258 MB / 1.17 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0004453/0.7497, allocations: 157.5 kB / 1.476 GB, free: 8.098 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.7497, allocations: 4 kB / 1.476 GB, free: 8.094 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.7497, allocations: 3.984 kB / 1.476 GB, free: 8.09 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.562e-06/0.7497, allocations: 4 kB / 1.476 GB, free: 8.086 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.7499, allocations: 20.11 kB / 1.476 GB, free: 8.066 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-06/0.7499, allocations: 0 / 1.476 GB, free: 8.066 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.7501, allocations: 23.88 kB / 1.476 GB, free: 8.043 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.7501, allocations: 12 kB / 1.476 GB, free: 8.031 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001661/0.7503, allocations: 188.2 kB / 1.476 GB, free: 7.84 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.35e-05/0.7504, allocations: 23.86 kB / 1.476 GB, free: 7.816 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.7509, allocations: 155.2 kB / 1.476 GB, free: 7.656 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.7509, allocations: 0 / 1.476 GB, free: 7.656 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7509, allocations: 4.219 kB / 1.476 GB, free: 7.652 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.751, allocations: 27.89 kB / 1.476 GB, free: 7.625 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.751, allocations: 4 kB / 1.476 GB, free: 7.621 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.7513, allocations: 11.98 kB / 1.476 GB, free: 7.609 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.7513, allocations: 11.97 kB / 1.476 GB, free: 7.598 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004878/0.7518, allocations: 216.8 kB / 1.476 GB, free: 7.379 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005368/0.7524, allocations: 326.9 kB / 1.477 GB, free: 7.043 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001815/0.7525, allocations: 51.98 kB / 1.477 GB, free: 6.992 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000218/0.7528, allocations: 161.2 kB / 1.477 GB, free: 6.832 MB / 1.17 GB Notification: Performance of Backend: time 3.71e-07/0.7528, allocations: 4 kB / 1.477 GB, free: 6.828 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.7543, allocations: 325.6 kB / 1.477 GB, free: 6.5 MB / 1.17 GB Notification: Performance of SimCode: time 0.001683/0.756, allocations: 0.8802 MB / 1.478 GB, free: 5.574 MB / 1.17 GB Notification: Performance of Templates: time 0.01582/0.7718, allocations: 5.866 MB / 1.484 GB, free: 15.8 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.675220887998876]