Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001923/0.001923, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002233/0.002233, allocations: 161.1 kB / 23.01 MB, free: 4.602 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.568/1.568, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.88/2.88, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002072/0.002072, allocations: 71.89 kB / 0.9515 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4229, allocations: 169.9 MB / 1.117 GB, free: 2.578 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 1.201/1.624, allocations: 142.3 MB / 1.256 GB, free: 184 kB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0039/1.628, allocations: 1.604 MB / 1.258 GB, free: 15.12 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003484/1.628, allocations: 15.25 kB / 1.258 GB, free: 15.11 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006977/1.629, allocations: 156.7 kB / 1.258 GB, free: 15.02 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/1.631, allocations: 0.5167 MB / 1.259 GB, free: 14.75 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001478/1.632, allocations: 436.7 kB / 1.259 GB, free: 14.55 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001065/1.633, allocations: 0.5766 MB / 1.26 GB, free: 14.29 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003648/1.634, allocations: 134.9 kB / 1.26 GB, free: 14.23 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008212/1.634, allocations: 339.8 kB / 1.26 GB, free: 14.08 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/1.635, allocations: 160.8 kB / 1.26 GB, free: 14.02 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.054e-05/1.635, allocations: 12.12 kB / 1.26 GB, free: 14.02 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/1.636, allocations: 0.5675 MB / 1.261 GB, free: 13.84 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/1.636, allocations: 89.3 kB / 1.261 GB, free: 13.8 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/1.636, allocations: 90.95 kB / 1.261 GB, free: 13.76 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0009074/1.637, allocations: 490.9 kB / 1.261 GB, free: 13.59 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/1.637, allocations: 5.859 kB / 1.261 GB, free: 13.59 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.994e-06/1.637, allocations: 3.938 kB / 1.261 GB, free: 13.59 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.326e-06/1.637, allocations: 0 / 1.261 GB, free: 13.59 MB / 1.123 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.001049/1.638, allocations: 0.5184 MB / 1.262 GB, free: 13.16 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.638, allocations: 9.062 kB / 1.262 GB, free: 13.16 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004698/1.639, allocations: 54.33 kB / 1.262 GB, free: 13.14 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006089/1.64, allocations: 241.8 kB / 1.262 GB, free: 12.96 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/1.64, allocations: 14.28 kB / 1.262 GB, free: 12.95 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.425e-05/1.64, allocations: 15.12 kB / 1.262 GB, free: 12.95 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/1.64, allocations: 226.5 kB / 1.262 GB, free: 12.8 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/1.64, allocations: 0 / 1.262 GB, free: 12.8 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/1.64, allocations: 6.219 kB / 1.263 GB, free: 12.8 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/1.64, allocations: 3.391 kB / 1.263 GB, free: 12.8 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/1.64, allocations: 126.5 kB / 1.263 GB, free: 12.77 MB / 1.123 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.001156/1.642, allocations: 0.6294 MB / 1.263 GB, free: 12.29 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/1.642, allocations: 78.42 kB / 1.263 GB, free: 12.25 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/1.642, allocations: 76.48 kB / 1.263 GB, free: 12.22 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/1.642, allocations: 39.23 kB / 1.263 GB, free: 12.21 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/1.642, allocations: 31.75 kB / 1.263 GB, free: 12.17 MB / 1.123 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/1.642, allocations: 0.9688 kB / 1.263 GB, free: 12.17 MB / 1.123 GB Notification: Performance of matching and sorting (n=10): time 0.0007604/1.643, allocations: 211.5 kB / 1.264 GB, free: 12.09 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/1.643, allocations: 56.47 kB / 1.264 GB, free: 12.03 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/1.643, allocations: 224.9 kB / 1.264 GB, free: 11.89 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/1.643, allocations: 31.02 kB / 1.264 GB, free: 11.86 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/1.644, allocations: 157.5 kB / 1.264 GB, free: 11.72 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 5.406e-05/1.644, allocations: 34.75 kB / 1.264 GB, free: 11.7 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/1.644, allocations: 27.67 kB / 1.264 GB, free: 11.68 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.644, allocations: 329.3 kB / 1.264 GB, free: 11.36 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/1.644, allocations: 48.83 kB / 1.265 GB, free: 11.34 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002899/1.644, allocations: 226.7 kB / 1.265 GB, free: 11.11 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/1.645, allocations: 132.9 kB / 1.265 GB, free: 11.04 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.645, allocations: 0 / 1.265 GB, free: 11.04 MB / 1.123 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003872/1.645, allocations: 155.4 kB / 1.265 GB, free: 10.97 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/1.645, allocations: 5.781 kB / 1.265 GB, free: 10.97 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/1.645, allocations: 1.812 kB / 1.265 GB, free: 10.97 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/1.645, allocations: 1.125 kB / 1.265 GB, free: 10.97 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/1.645, allocations: 20.62 kB / 1.265 GB, free: 10.97 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/1.645, allocations: 10.86 kB / 1.265 GB, free: 10.96 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/1.645, allocations: 15.98 kB / 1.265 GB, free: 10.96 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/1.645, allocations: 9.625 kB / 1.265 GB, free: 10.96 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002364/1.646, allocations: 143.8 kB / 1.265 GB, free: 10.86 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002883/1.646, allocations: 220.4 kB / 1.265 GB, free: 10.64 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003186/1.646, allocations: 116.6 kB / 1.266 GB, free: 10.58 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.893e-06/1.646, allocations: 0.9688 kB / 1.266 GB, free: 10.58 MB / 1.123 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003861/1.647, allocations: 161.6 kB / 1.266 GB, free: 10.5 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/1.647, allocations: 5.781 kB / 1.266 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/1.647, allocations: 1.672 kB / 1.266 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-06/1.647, allocations: 1.125 kB / 1.266 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/1.647, allocations: 24.19 kB / 1.266 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/1.647, allocations: 3.062 kB / 1.266 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/1.647, allocations: 17.14 kB / 1.266 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/1.647, allocations: 8.375 kB / 1.266 GB, free: 10.49 MB / 1.123 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.0001572/1.647, allocations: 197 kB / 1.266 GB, free: 10.3 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/1.647, allocations: 23.7 kB / 1.266 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004556/1.648, allocations: 160.1 kB / 1.266 GB, free: 10.21 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.648, allocations: 1.219 kB / 1.266 GB, free: 10.21 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/1.648, allocations: 5.875 kB / 1.266 GB, free: 10.21 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.648, allocations: 1.531 kB / 1.266 GB, free: 10.21 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009897/1.649, allocations: 0.5179 MB / 1.267 GB, free: 9.828 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/1.649, allocations: 1.594 kB / 1.267 GB, free: 9.828 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/1.649, allocations: 21.95 kB / 1.267 GB, free: 9.828 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/1.649, allocations: 2.594 kB / 1.267 GB, free: 9.828 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/1.649, allocations: 7.406 kB / 1.267 GB, free: 9.824 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/1.649, allocations: 7.562 kB / 1.267 GB, free: 9.82 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.649, allocations: 6.625 kB / 1.267 GB, free: 9.816 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004484/1.649, allocations: 295.4 kB / 1.267 GB, free: 9.582 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/1.649, allocations: 31.23 kB / 1.267 GB, free: 9.566 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/1.649, allocations: 5.141 kB / 1.267 GB, free: 9.566 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/1.65, allocations: 14.38 kB / 1.267 GB, free: 9.562 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/1.65, allocations: 9.375 kB / 1.267 GB, free: 9.562 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/1.65, allocations: 12.45 kB / 1.267 GB, free: 9.559 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001856/1.65, allocations: 170.5 kB / 1.267 GB, free: 9.453 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.65, allocations: 1.594 kB / 1.267 GB, free: 9.453 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0005334/1.65, allocations: 102.1 kB / 1.267 GB, free: 9.43 MB / 1.123 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.0003146/1.651, allocations: 146.6 kB / 1.267 GB, free: 9.324 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005346/1.651, allocations: 171.4 kB / 1.268 GB, free: 9.273 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.651, allocations: 1.594 kB / 1.268 GB, free: 9.273 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/1.651, allocations: 67.11 kB / 1.268 GB, free: 9.25 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007135/1.652, allocations: 91.92 kB / 1.268 GB, free: 9.23 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000882/1.653, allocations: 433.8 kB / 1.268 GB, free: 8.926 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/1.653, allocations: 148.5 kB / 1.268 GB, free: 8.84 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002054/1.653, allocations: 59.39 kB / 1.268 GB, free: 8.832 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.805e-05/1.653, allocations: 19.95 kB / 1.268 GB, free: 8.824 MB / 1.123 GB Notification: Performance of SimCode: time 3.4e-07/1.653, allocations: 4 kB / 1.268 GB, free: 8.82 MB / 1.123 GB Notification: Performance of Templates: time 0.01139/1.665, allocations: 3.934 MB / 1.272 GB, free: 8.395 MB / 1.123 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.094697418040596]