Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001875/0.001875, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002323/0.002323, allocations: 161.7 kB / 22.75 MB, free: 1.656 MB / 18.57 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.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.313/3.313, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.96e-05/4.163e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2254/0.2254, allocations: 142.4 MB / 1.017 GB, free: 7.637 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.005393/0.2308, allocations: 2.414 MB / 1.019 GB, free: 5.215 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005531/0.2314, allocations: 19.81 kB / 1.019 GB, free: 5.195 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0008129/0.2322, allocations: 166.8 kB / 1.019 GB, free: 5.031 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.2341, allocations: 0.5286 MB / 1.02 GB, free: 4.5 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.00223/0.2364, allocations: 0.6927 MB / 1.02 GB, free: 3.805 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001328/0.2377, allocations: 0.5964 MB / 1.021 GB, free: 3.203 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004799/0.2382, allocations: 152.6 kB / 1.021 GB, free: 3.055 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.2399, allocations: 0.5606 MB / 1.022 GB, free: 2.492 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003835/0.2403, allocations: 139.5 kB / 1.022 GB, free: 2.355 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 6.235e-05/0.2403, allocations: 16 kB / 1.022 GB, free: 2.34 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.2417, allocations: 0.5687 MB / 1.022 GB, free: 1.77 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.2419, allocations: 83.72 kB / 1.022 GB, free: 1.688 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002092/0.2421, allocations: 83.78 kB / 1.022 GB, free: 1.605 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.2435, allocations: 0.5411 MB / 1.023 GB, free: 1.062 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2435, allocations: 0 / 1.023 GB, free: 1.062 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2435, allocations: 0 / 1.023 GB, free: 1.062 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.2436, allocations: 0 / 1.023 GB, free: 1.062 MB / 0.9792 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.001187/0.2447, allocations: 0.539 MB / 1.024 GB, free: 0.4922 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.2448, allocations: 12.03 kB / 1.024 GB, free: 492 kB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004966/0.2453, allocations: 87.66 kB / 1.024 GB, free: 404 kB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006832/0.246, allocations: 277.1 kB / 1.024 GB, free: 104 kB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.246, allocations: 12 kB / 1.024 GB, free: 92 kB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.246, allocations: 16 kB / 1.024 GB, free: 76 kB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.2466, allocations: 222.6 kB / 1.024 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.2466, allocations: 0 / 1.024 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.2466, allocations: 4 kB / 1.024 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.2466, allocations: 4 kB / 1.024 GB, free: 15.83 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003985/0.247, allocations: 131.8 kB / 1.024 GB, free: 15.7 MB / 0.9948 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.001366/0.2484, allocations: 0.6524 MB / 1.025 GB, free: 15.01 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.2487, allocations: 82.47 kB / 1.025 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.2488, allocations: 76.84 kB / 1.025 GB, free: 14.84 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000252/0.2491, allocations: 35.98 kB / 1.025 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.2491, allocations: 38.55 kB / 1.025 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.2491, allocations: 0 / 1.025 GB, free: 14.76 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0008118/0.25, allocations: 221.3 kB / 1.025 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.25, allocations: 51.41 kB / 1.025 GB, free: 14.47 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.2504, allocations: 276.1 kB / 1.026 GB, free: 14.19 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.2504, allocations: 25.7 kB / 1.026 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.2506, allocations: 160.5 kB / 1.026 GB, free: 14 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.222e-05/0.2506, allocations: 35.69 kB / 1.026 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.856e-05/0.2507, allocations: 45.7 kB / 1.026 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.251, allocations: 338.8 kB / 1.026 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.2511, allocations: 52.81 kB / 1.026 GB, free: 13.52 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.2515, allocations: 282 kB / 1.027 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/0.2519, allocations: 206.9 kB / 1.027 GB, free: 12.92 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.2519, allocations: 8 kB / 1.027 GB, free: 12.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005295/0.2525, allocations: 225.1 kB / 1.027 GB, free: 12.69 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.2525, allocations: 8 kB / 1.027 GB, free: 12.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.2525, allocations: 4 kB / 1.027 GB, free: 12.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.262e-05/0.2525, allocations: 4.312 kB / 1.027 GB, free: 12.67 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.2527, allocations: 39.92 kB / 1.027 GB, free: 12.63 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.801e-05/0.2528, allocations: 7.984 kB / 1.027 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.253, allocations: 31.81 kB / 1.027 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.672e-05/0.253, allocations: 8 kB / 1.027 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002701/0.2533, allocations: 160.1 kB / 1.027 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005311/0.2538, allocations: 274.9 kB / 1.027 GB, free: 12.08 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004093/0.2542, allocations: 199 kB / 1.028 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.19e-06/0.2542, allocations: 3.984 kB / 1.028 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0004914/0.2547, allocations: 225.1 kB / 1.028 GB, free: 11.62 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2548, allocations: 15.92 kB / 1.028 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2548, allocations: 0 / 1.028 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-06/0.2548, allocations: 4 kB / 1.028 GB, free: 11.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.2549, allocations: 44.23 kB / 1.028 GB, free: 11.55 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2549, allocations: 11.98 kB / 1.028 GB, free: 11.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.2551, allocations: 23.88 kB / 1.028 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.2552, allocations: 15.98 kB / 1.028 GB, free: 11.5 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (19): * Single equations (assignments): 19 * 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.0001542/0.2553, allocations: 192.1 kB / 1.028 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.461e-05/0.2554, allocations: 23.86 kB / 1.028 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/0.2558, allocations: 159.4 kB / 1.028 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2558, allocations: 4.125 kB / 1.028 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.2558, allocations: 8 kB / 1.028 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2558, allocations: 0 / 1.028 GB, free: 11.11 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001035/0.2569, allocations: 0.527 MB / 1.029 GB, free: 10.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.2569, allocations: 4 kB / 1.029 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.257, allocations: 28.14 kB / 1.029 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.257, allocations: 7.938 kB / 1.029 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.257, allocations: 4 kB / 1.029 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.257, allocations: 0 / 1.029 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.257, allocations: 4 kB / 1.029 GB, free: 10.48 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.2575, allocations: 293.3 kB / 1.029 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.705e-05/0.2576, allocations: 39.72 kB / 1.029 GB, free: 10.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.2577, allocations: 4 kB / 1.029 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.2579, allocations: 15.98 kB / 1.029 GB, free: 10.1 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.2579, allocations: 11.98 kB / 1.029 GB, free: 10.09 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.258, allocations: 8 kB / 1.029 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002365/0.2582, allocations: 183.1 kB / 1.029 GB, free: 9.898 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.2582, allocations: 0 / 1.029 GB, free: 9.898 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0006332/0.2588, allocations: 119.7 kB / 1.03 GB, free: 9.781 MB / 0.9948 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.0003626/0.2592, allocations: 159.2 kB / 1.03 GB, free: 9.613 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0006298/0.2598, allocations: 207.7 kB / 1.03 GB, free: 9.41 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2598, allocations: 4 kB / 1.03 GB, free: 9.406 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.26, allocations: 61.28 kB / 1.03 GB, free: 9.348 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.2607, allocations: 93.47 kB / 1.03 GB, free: 9.258 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.2617, allocations: 463.5 kB / 1.031 GB, free: 8.754 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.2619, allocations: 162.8 kB / 1.031 GB, free: 8.578 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002438/0.2622, allocations: 69.86 kB / 1.031 GB, free: 8.508 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.2622, allocations: 24.5 kB / 1.031 GB, free: 8.484 MB / 0.9948 GB Notification: Performance of SimCode: time 1.041e-06/0.2622, allocations: 0 / 1.031 GB, free: 8.484 MB / 0.9948 GB Notification: Performance of Templates: time 0.01091/0.2731, allocations: 4.013 MB / 1.035 GB, free: 4.578 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.07811825396493]