Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.002098/0.002098, allocations: 88.72 kB / 19.44 MB, free: 356 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.002874/0.002874, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.605/1.605, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.443/3.443, 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.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.444e-05/3.629e-05, allocations: 8.109 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.9561/0.9561, allocations: 215 MB / 1.088 GB, free: 45.54 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02034/0.9764, allocations: 13.82 MB / 1.101 GB, free: 45.35 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003206/0.9796, allocations: 108.9 kB / 1.101 GB, free: 45.35 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00327/0.9829, allocations: 0.9889 MB / 1.102 GB, free: 45.33 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.006478/0.9894, allocations: 1.991 MB / 1.104 GB, free: 45.21 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.005547/0.9949, allocations: 2.069 MB / 1.106 GB, free: 45.13 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.006829/1.002, allocations: 3.521 MB / 1.11 GB, free: 44.41 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/1.004, allocations: 0.9251 MB / 1.11 GB, free: 44.29 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01524/1.019, allocations: 4.914 MB / 1.115 GB, free: 43.71 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0025/1.022, allocations: 0.8182 MB / 1.116 GB, free: 43.59 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0005605/1.022, allocations: 85.88 kB / 1.116 GB, free: 43.59 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/1.025, allocations: 0.6089 MB / 1.117 GB, free: 43.52 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/1.026, allocations: 0.5022 MB / 1.117 GB, free: 43.43 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001897/1.028, allocations: 0.5233 MB / 1.118 GB, free: 43.36 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00309/1.031, allocations: 1.692 MB / 1.119 GB, free: 43.12 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.031, allocations: 0 / 1.119 GB, free: 43.12 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.834e-06/1.031, allocations: 0.9688 kB / 1.119 GB, free: 43.12 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.937e-05/1.031, allocations: 0 / 1.119 GB, free: 43.12 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002935/1.034, allocations: 1.852 MB / 1.121 GB, free: 42.15 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/1.034, allocations: 9.062 kB / 1.121 GB, free: 42.15 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000845/1.035, allocations: 317.2 kB / 1.122 GB, free: 42.04 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/1.037, allocations: 1.048 MB / 1.123 GB, free: 41.66 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001924/1.037, allocations: 197.3 kB / 1.123 GB, free: 41.52 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/1.037, allocations: 113.1 kB / 1.123 GB, free: 41.52 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/1.039, allocations: 1.024 MB / 1.124 GB, free: 41.13 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/1.039, allocations: 1.625 kB / 1.124 GB, free: 41.13 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-05/1.039, allocations: 33.12 kB / 1.124 GB, free: 41.13 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/1.039, allocations: 24.53 kB / 1.124 GB, free: 41.12 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009445/1.04, allocations: 0.5174 MB / 1.124 GB, free: 41.12 MB / 1.01 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.004429/1.044, allocations: 3.964 MB / 1.128 GB, free: 38.57 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007387/1.045, allocations: 410.6 kB / 1.129 GB, free: 38.24 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000493/1.045, allocations: 250.8 kB / 1.129 GB, free: 38.13 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/1.046, allocations: 31.02 kB / 1.129 GB, free: 38.13 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/1.046, allocations: 52.98 kB / 1.129 GB, free: 38.09 MB / 1.01 GB Notification: Performance of pre-optimization done (n=31): time 4.598e-06/1.046, allocations: 2.25 kB / 1.129 GB, free: 38.09 MB / 1.01 GB Notification: Performance of matching and sorting (n=31): time 0.00244/1.048, allocations: 0.6536 MB / 1.13 GB, free: 37.96 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/1.048, allocations: 400.5 kB / 1.13 GB, free: 37.49 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/1.05, allocations: 1.154 MB / 1.131 GB, free: 37.31 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.063e-05/1.05, allocations: 51.58 kB / 1.131 GB, free: 37.28 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000548/1.051, allocations: 0.6698 MB / 1.132 GB, free: 37.04 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 8.218e-05/1.051, allocations: 109.4 kB / 1.132 GB, free: 36.97 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/1.051, allocations: 203.2 kB / 1.132 GB, free: 36.95 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.424e-05/1.051, allocations: 343.2 kB / 1.132 GB, free: 36.64 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/1.052, allocations: 152.5 kB / 1.133 GB, free: 36.64 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008557/1.052, allocations: 1.479 MB / 1.134 GB, free: 35.02 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009488/1.053, allocations: 0.9323 MB / 1.135 GB, free: 34.34 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/1.053, allocations: 4.781 kB / 1.135 GB, free: 34.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.001742/1.055, allocations: 0.9998 MB / 1.136 GB, free: 34.21 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/1.055, allocations: 13.41 kB / 1.136 GB, free: 34.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.461e-05/1.055, allocations: 20.75 kB / 1.136 GB, free: 34.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004117/1.056, allocations: 98.17 kB / 1.136 GB, free: 34.19 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/1.056, allocations: 194.2 kB / 1.136 GB, free: 34.19 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/1.058, allocations: 3.025 MB / 1.139 GB, free: 31.53 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/1.059, allocations: 119.5 kB / 1.139 GB, free: 31.48 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.971e-05/1.059, allocations: 62.09 kB / 1.139 GB, free: 31.48 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * 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 (103): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006003/1.06, allocations: 345 kB / 1.14 GB, free: 31.35 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/1.06, allocations: 147.5 kB / 1.14 GB, free: 31.27 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/1.061, allocations: 107.9 kB / 1.14 GB, free: 31.25 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/1.061, allocations: 6.281 kB / 1.14 GB, free: 31.25 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/1.061, allocations: 6 kB / 1.14 GB, free: 31.25 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/1.061, allocations: 4.875 kB / 1.14 GB, free: 31.25 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003263/1.064, allocations: 2.434 MB / 1.142 GB, free: 29.81 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.064, allocations: 6.031 kB / 1.142 GB, free: 29.81 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/1.064, allocations: 49.02 kB / 1.142 GB, free: 29.81 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002834/1.064, allocations: 78.36 kB / 1.142 GB, free: 29.79 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/1.064, allocations: 10.47 kB / 1.142 GB, free: 29.79 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/1.066, allocations: 3.01 MB / 1.145 GB, free: 27.12 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.066, allocations: 13.88 kB / 1.145 GB, free: 27.12 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009241/1.067, allocations: 0.6684 MB / 1.146 GB, free: 26.71 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/1.067, allocations: 160.7 kB / 1.146 GB, free: 26.63 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/1.068, allocations: 12.23 kB / 1.146 GB, free: 26.63 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/1.068, allocations: 28.34 kB / 1.146 GB, free: 26.63 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.068, allocations: 55.3 kB / 1.146 GB, free: 26.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/1.068, allocations: 18.55 kB / 1.146 GB, free: 26.62 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001219/1.069, allocations: 0.734 MB / 1.147 GB, free: 26.51 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/1.069, allocations: 0 / 1.147 GB, free: 26.51 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001767/1.071, allocations: 333.6 kB / 1.147 GB, free: 26.46 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004022/1.072, allocations: 191.7 kB / 1.148 GB, free: 26.36 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001759/1.073, allocations: 0.7222 MB / 1.148 GB, free: 26.11 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/1.073, allocations: 1.375 kB / 1.148 GB, free: 26.11 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007653/1.074, allocations: 396.9 kB / 1.149 GB, free: 25.89 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/1.077, allocations: 435.6 kB / 1.149 GB, free: 25.81 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004168/1.081, allocations: 2.143 MB / 1.151 GB, free: 24.65 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/1.082, allocations: 0.6348 MB / 1.152 GB, free: 24.5 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001098/1.084, allocations: 221.3 kB / 1.152 GB, free: 24.46 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/1.084, allocations: 76.48 kB / 1.152 GB, free: 24.45 MB / 1.01 GB Notification: Performance of SimCode: time 9.22e-07/1.084, allocations: 0.9688 kB / 1.152 GB, free: 24.45 MB / 1.01 GB Notification: Performance of Templates: time 0.03395/1.118, allocations: 16.62 MB / 1.168 GB, free: 22.59 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.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.468661891063675]