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.002153/0.002153, allocations: 79.44 kB / 19.18 MB, free: 2.52 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.00264/0.00264, allocations: 165.7 kB / 22.45 MB, free: 5.375 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.567/1.567, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.945/2.945, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.196e-06/3.196e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.939e-05/5.259e-05, allocations: 5.656 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2176/0.2176, allocations: 142.3 MB / 1.12 GB, free: 13.12 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003844/0.2215, allocations: 1.616 MB / 1.122 GB, free: 11.5 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005587/0.222, allocations: 19.81 kB / 1.122 GB, free: 11.48 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0008917/0.2229, allocations: 150.9 kB / 1.122 GB, free: 11.33 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.2248, allocations: 0.5324 MB / 1.123 GB, free: 10.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.2264, allocations: 461.6 kB / 1.123 GB, free: 10.35 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001127/0.2275, allocations: 0.5731 MB / 1.124 GB, free: 9.773 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004529/0.228, allocations: 140.7 kB / 1.124 GB, free: 9.641 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001655/0.2296, allocations: 0.5449 MB / 1.124 GB, free: 9.094 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.2299, allocations: 135.6 kB / 1.124 GB, free: 8.961 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.085e-05/0.23, allocations: 12 kB / 1.124 GB, free: 8.949 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.2315, allocations: 0.5649 MB / 1.125 GB, free: 8.383 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.2316, allocations: 91.66 kB / 1.125 GB, free: 8.293 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.2318, allocations: 75.78 kB / 1.125 GB, free: 8.219 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.233, allocations: 0.5179 MB / 1.126 GB, free: 7.699 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.233, allocations: 0 / 1.126 GB, free: 7.699 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.973e-06/0.233, allocations: 0 / 1.126 GB, free: 7.699 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.233, allocations: 0 / 1.126 GB, free: 7.699 MB / 1.076 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.001176/0.2341, allocations: 0.5157 MB / 1.126 GB, free: 7.152 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.412e-05/0.2342, allocations: 12.03 kB / 1.126 GB, free: 7.141 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004619/0.2347, allocations: 55.78 kB / 1.126 GB, free: 7.086 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.2353, allocations: 248.1 kB / 1.126 GB, free: 6.816 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.084e-05/0.2354, allocations: 15.98 kB / 1.127 GB, free: 6.801 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.2354, allocations: 16 kB / 1.127 GB, free: 6.785 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005138/0.2359, allocations: 225.8 kB / 1.127 GB, free: 6.543 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2359, allocations: 0 / 1.127 GB, free: 6.543 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.236, allocations: 8 kB / 1.127 GB, free: 6.535 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.236, allocations: 4 kB / 1.127 GB, free: 6.531 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003507/0.2363, allocations: 131.8 kB / 1.127 GB, free: 6.402 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.2374, allocations: 0.629 MB / 1.127 GB, free: 5.734 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.2377, allocations: 78.53 kB / 1.128 GB, free: 5.648 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.2379, allocations: 68.88 kB / 1.128 GB, free: 5.578 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.2381, allocations: 35.97 kB / 1.128 GB, free: 5.543 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.2382, allocations: 30.56 kB / 1.128 GB, free: 5.504 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.2382, allocations: 0 / 1.128 GB, free: 5.504 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.0007612/0.2389, allocations: 229.3 kB / 1.128 GB, free: 5.273 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.239, allocations: 51.41 kB / 1.128 GB, free: 5.211 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.2393, allocations: 229.9 kB / 1.128 GB, free: 4.977 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.2393, allocations: 29.7 kB / 1.128 GB, free: 4.941 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.2394, allocations: 148.4 kB / 1.128 GB, free: 4.793 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.2395, allocations: 35.72 kB / 1.128 GB, free: 4.758 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.2395, allocations: 37.66 kB / 1.128 GB, free: 4.715 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.2397, allocations: 330.8 kB / 1.129 GB, free: 4.383 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.2399, allocations: 48.83 kB / 1.129 GB, free: 4.332 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.2401, allocations: 221.6 kB / 1.129 GB, free: 4.066 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.2404, allocations: 127.3 kB / 1.129 GB, free: 3.93 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2404, allocations: 0 / 1.129 GB, free: 3.93 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003534/0.2408, allocations: 153.5 kB / 1.129 GB, free: 3.773 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2408, allocations: 6.5 kB / 1.129 GB, free: 3.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2408, allocations: 3.938 kB / 1.129 GB, free: 3.766 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2408, allocations: 4 kB / 1.129 GB, free: 3.762 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.241, allocations: 19.98 kB / 1.129 GB, free: 3.742 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.241, allocations: 3.984 kB / 1.129 GB, free: 3.738 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.2411, allocations: 23.81 kB / 1.129 GB, free: 3.715 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.2412, allocations: 12 kB / 1.129 GB, free: 3.703 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002287/0.2414, allocations: 144.1 kB / 1.129 GB, free: 3.559 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002623/0.2417, allocations: 225.6 kB / 1.13 GB, free: 3.289 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002721/0.2419, allocations: 111.3 kB / 1.13 GB, free: 3.168 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-06/0.2419, allocations: 4 kB / 1.13 GB, free: 3.164 MB / 1.076 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003364/0.2423, allocations: 157.4 kB / 1.13 GB, free: 3.004 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.2423, allocations: 8.688 kB / 1.13 GB, free: 2.996 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.2423, allocations: 4 kB / 1.13 GB, free: 2.992 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-06/0.2423, allocations: 0 / 1.13 GB, free: 2.992 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.2424, allocations: 19.98 kB / 1.13 GB, free: 2.973 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.2424, allocations: 4 kB / 1.13 GB, free: 2.969 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.2426, allocations: 15.94 kB / 1.13 GB, free: 2.953 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.2426, allocations: 8.281 kB / 1.13 GB, free: 2.945 MB / 1.076 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.0001611/0.2427, allocations: 196.1 kB / 1.13 GB, free: 2.746 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.716e-05/0.2428, allocations: 23.84 kB / 1.13 GB, free: 2.723 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004049/0.2432, allocations: 163.2 kB / 1.13 GB, free: 2.555 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.2432, allocations: 4 kB / 1.13 GB, free: 2.551 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.2432, allocations: 0 / 1.13 GB, free: 2.551 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.2432, allocations: 0 / 1.13 GB, free: 2.551 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000902/0.2441, allocations: 0.5116 MB / 1.131 GB, free: 1.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.2441, allocations: 8 kB / 1.131 GB, free: 1.973 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.2442, allocations: 23.98 kB / 1.131 GB, free: 1.949 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.799e-06/0.2442, allocations: 11.92 kB / 1.131 GB, free: 1.938 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.2443, allocations: 0 / 1.131 GB, free: 1.938 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2443, allocations: 7.938 kB / 1.131 GB, free: 1.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2443, allocations: 4 kB / 1.131 GB, free: 1.926 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004516/0.2447, allocations: 285.5 kB / 1.131 GB, free: 1.609 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.199e-05/0.2448, allocations: 35.78 kB / 1.131 GB, free: 1.574 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.2448, allocations: 11.98 kB / 1.131 GB, free: 1.562 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.245, allocations: 7.984 kB / 1.131 GB, free: 1.555 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.2451, allocations: 19.92 kB / 1.131 GB, free: 1.535 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.2451, allocations: 4 kB / 1.131 GB, free: 1.531 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001729/0.2453, allocations: 165.2 kB / 1.131 GB, free: 1.367 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.2453, allocations: 0 / 1.131 GB, free: 1.367 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004875/0.2458, allocations: 107.7 kB / 1.132 GB, free: 1.262 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0003339/0.2461, allocations: 151.1 kB / 1.132 GB, free: 1.105 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004875/0.2466, allocations: 159.7 kB / 1.132 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2466, allocations: 0 / 1.132 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.2467, allocations: 64.39 kB / 1.132 GB, free: 0.8867 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000683/0.2474, allocations: 105.1 kB / 1.132 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008308/0.2482, allocations: 425.1 kB / 1.132 GB, free: 328 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.2484, allocations: 150.2 kB / 1.133 GB, free: 160 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001951/0.2486, allocations: 65.88 kB / 1.133 GB, free: 92 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.2487, allocations: 20.5 kB / 1.133 GB, free: 72 kB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.2487, allocations: 4 kB / 1.133 GB, free: 68 kB / 1.076 GB Notification: Performance of Templates: time 0.6717/0.9204, allocations: 3.921 MB / 1.136 GB, free: 196.2 MB / 1.076 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/jenkins/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: 9.849022462964058]