Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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.001656/0.001656, allocations: 96.2 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.002289/0.002289, allocations: 208.7 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.721/1.721, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.542/3.542, allocations: 0.49 GB / 0.7959 GB, free: 35.58 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.FlowJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction") [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.002102/0.002102, allocations: 63.31 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4894/0.4915, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.3573/0.8488, allocations: 213.2 MB / 1.535 GB, free: 10.98 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.0148/0.8636, allocations: 6.787 MB / 1.542 GB, free: 4.188 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002296/0.8659, allocations: 75.38 kB / 1.542 GB, free: 4.113 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.002513/0.8684, allocations: 0.6871 MB / 1.543 GB, free: 3.422 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.007214/0.8756, allocations: 2.166 MB / 1.545 GB, free: 1.25 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006182/0.8818, allocations: 2.072 MB / 1.547 GB, free: 15.18 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.006013/0.8878, allocations: 3.34 MB / 1.55 GB, free: 11.83 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.8897, allocations: 0.8647 MB / 1.551 GB, free: 10.94 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006137/0.8958, allocations: 2.176 MB / 1.553 GB, free: 8.758 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002792/0.8986, allocations: 1.004 MB / 1.554 GB, free: 7.75 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002851/0.8989, allocations: 120 kB / 1.554 GB, free: 7.633 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00528/0.9042, allocations: 2.046 MB / 1.556 GB, free: 5.582 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0007641/0.905, allocations: 474.5 kB / 1.557 GB, free: 5.117 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.9061, allocations: 0.5951 MB / 1.557 GB, free: 4.52 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006214/0.9123, allocations: 2.628 MB / 1.56 GB, free: 1.883 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.9123, allocations: 3.938 kB / 1.56 GB, free: 1.879 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9123, allocations: 0 / 1.56 GB, free: 1.879 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.07e-05/0.9124, allocations: 0 / 1.56 GB, free: 1.879 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003831/0.9162, allocations: 1.686 MB / 1.561 GB, free: 156 kB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.9163, allocations: 8.031 kB / 1.561 GB, free: 148 kB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002965/0.9192, allocations: 430.7 kB / 1.562 GB, free: 15.72 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00232/0.9215, allocations: 0.9708 MB / 1.563 GB, free: 14.71 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.626e-05/0.9216, allocations: 58 kB / 1.563 GB, free: 14.66 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.9218, allocations: 87.98 kB / 1.563 GB, free: 14.57 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/0.9238, allocations: 1.017 MB / 1.564 GB, free: 13.51 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.9239, allocations: 0 / 1.564 GB, free: 13.51 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.924, allocations: 39.92 kB / 1.564 GB, free: 13.47 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/0.924, allocations: 26 kB / 1.564 GB, free: 13.45 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.9256, allocations: 0.8041 MB / 1.565 GB, free: 12.64 MB / 1.264 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.005337/0.931, allocations: 2.23 MB / 1.567 GB, free: 10.37 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.9325, allocations: 0.6162 MB / 1.568 GB, free: 9.75 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006485/0.9331, allocations: 346 kB / 1.568 GB, free: 9.41 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006498/0.9338, allocations: 96.39 kB / 1.568 GB, free: 9.316 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/0.9338, allocations: 47 kB / 1.568 GB, free: 9.262 MB / 1.264 GB Notification: Performance of pre-optimization done (n=60): time 3.927e-06/0.9338, allocations: 3.938 kB / 1.568 GB, free: 9.258 MB / 1.264 GB Notification: Performance of matching and sorting (n=60): time 0.002488/0.9363, allocations: 0.9571 MB / 1.569 GB, free: 8.293 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.9364, allocations: 55.91 kB / 1.569 GB, free: 8.227 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.9378, allocations: 0.7634 MB / 1.57 GB, free: 7.453 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 8.112e-05/0.9378, allocations: 37.7 kB / 1.57 GB, free: 7.41 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005312/0.9384, allocations: 0.4929 MB / 1.57 GB, free: 6.91 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/0.9387, allocations: 226 kB / 1.57 GB, free: 6.688 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.9389, allocations: 106.3 kB / 1.571 GB, free: 6.578 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002747/0.9392, allocations: 338 kB / 1.571 GB, free: 6.242 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/0.9398, allocations: 255.3 kB / 1.571 GB, free: 5.988 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009537/0.9407, allocations: 0.6069 MB / 1.572 GB, free: 5.289 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.9419, allocations: 0.5942 MB / 1.572 GB, free: 4.68 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.9419, allocations: 0 / 1.572 GB, free: 4.68 MB / 1.264 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001564/0.9435, allocations: 0.7348 MB / 1.573 GB, free: 3.938 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.9435, allocations: 12.06 kB / 1.573 GB, free: 3.926 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.9435, allocations: 4 kB / 1.573 GB, free: 3.922 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.74e-05/0.9436, allocations: 4 kB / 1.573 GB, free: 3.918 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/0.9442, allocations: 123.8 kB / 1.573 GB, free: 3.797 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/0.9443, allocations: 7.984 kB / 1.573 GB, free: 3.789 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000807/0.9451, allocations: 63.7 kB / 1.573 GB, free: 3.727 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/0.9451, allocations: 23.98 kB / 1.573 GB, free: 3.703 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001034/0.9462, allocations: 0.4895 MB / 1.574 GB, free: 3.207 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007887/0.9469, allocations: 0.6069 MB / 1.574 GB, free: 2.504 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001087/0.948, allocations: 0.5786 MB / 1.575 GB, free: 1.91 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.964e-06/0.948, allocations: 0 / 1.575 GB, free: 1.91 MB / 1.264 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001396/0.9494, allocations: 0.7192 MB / 1.576 GB, free: 1.184 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.9494, allocations: 4 kB / 1.576 GB, free: 1.18 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.9495, allocations: 11.92 kB / 1.576 GB, free: 1.168 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.9495, allocations: 8.125 kB / 1.576 GB, free: 1.16 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.9501, allocations: 127.8 kB / 1.576 GB, free: 1.035 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.9501, allocations: 4 kB / 1.576 GB, free: 1.031 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008271/0.9509, allocations: 67.62 kB / 1.576 GB, free: 0.9648 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.951, allocations: 28.17 kB / 1.576 GB, free: 0.9375 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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.0003151/0.9513, allocations: 211.4 kB / 1.576 GB, free: 0.7266 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.9515, allocations: 115.2 kB / 1.576 GB, free: 0.6133 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.9532, allocations: 0.7335 MB / 1.577 GB, free: 15.88 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001444/0.9547, allocations: 0.898 MB / 1.578 GB, free: 14.89 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.9547, allocations: 4 kB / 1.578 GB, free: 14.89 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005936/0.9553, allocations: 179.2 kB / 1.578 GB, free: 14.71 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.9554, allocations: 12 kB / 1.578 GB, free: 14.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000626/0.956, allocations: 40.89 kB / 1.578 GB, free: 14.66 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.9562, allocations: 36.42 kB / 1.578 GB, free: 14.62 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001889/0.9581, allocations: 0.7939 MB / 1.579 GB, free: 13.83 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002104/0.9602, allocations: 1.238 MB / 1.58 GB, free: 12.57 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005686/0.9607, allocations: 299.9 kB / 1.58 GB, free: 12.28 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0008514/0.9616, allocations: 0.5341 MB / 1.581 GB, free: 11.75 MB / 1.279 GB Notification: Performance of Backend: time 3.01e-07/0.9616, allocations: 0 / 1.581 GB, free: 11.75 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.003878/0.9655, allocations: 1.208 MB / 1.582 GB, free: 10.54 MB / 1.279 GB Notification: Performance of SimCode: time 0.005486/0.9709, allocations: 2.795 MB / 1.585 GB, free: 7.699 MB / 1.279 GB Notification: Performance of Templates: time 1.068/2.039, allocations: 29.61 MB / 1.614 GB, free: 75.96 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Examples_FlowJunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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: 12.761661563003145]