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.002065/0.002065, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002482/0.002482, allocations: 165.5 kB / 22.46 MB, free: 5.359 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.622/1.622, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.925/2.925, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.384e-06/2.384e-06, allocations: 0 / 0.951 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.93e-05/4.169e-05, allocations: 2.281 kB / 0.951 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.2405/0.2405, allocations: 142.3 MB / 1.09 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003754/0.2443, allocations: 1.612 MB / 1.092 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004373/0.2447, allocations: 19.81 kB / 1.092 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007541/0.2454, allocations: 154.9 kB / 1.092 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.2473, allocations: 0.5363 MB / 1.092 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.2487, allocations: 466.5 kB / 1.093 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0009476/0.2497, allocations: 0.577 MB / 1.093 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.25, allocations: 140.7 kB / 1.093 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008701/0.2509, allocations: 398.6 kB / 1.094 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.2511, allocations: 147.5 kB / 1.094 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.289e-05/0.2512, allocations: 12 kB / 1.094 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.2524, allocations: 0.5687 MB / 1.094 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.2526, allocations: 87.72 kB / 1.095 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.2527, allocations: 79.78 kB / 1.095 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009706/0.2537, allocations: 0.5141 MB / 1.095 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2537, allocations: 0 / 1.095 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2537, allocations: 3.938 kB / 1.095 GB, free: 7.445 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2537, allocations: 4 kB / 1.095 GB, free: 7.441 MB / 0.9981 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.001046/0.2547, allocations: 0.5214 MB / 1.096 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.2548, allocations: 8.031 kB / 1.096 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003905/0.2552, allocations: 59.78 kB / 1.096 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005889/0.2557, allocations: 244.1 kB / 1.096 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.2558, allocations: 12 kB / 1.096 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.2558, allocations: 19.94 kB / 1.096 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.2563, allocations: 210.4 kB / 1.096 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.2563, allocations: 4 kB / 1.096 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.2563, allocations: 4 kB / 1.096 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2563, allocations: 4 kB / 1.096 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.2567, allocations: 131.8 kB / 1.096 GB, free: 6.164 MB / 0.9981 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.001086/0.2577, allocations: 0.629 MB / 1.097 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/0.258, allocations: 82.58 kB / 1.097 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.2582, allocations: 68.81 kB / 1.097 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002169/0.2584, allocations: 39.97 kB / 1.097 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.2585, allocations: 34.5 kB / 1.097 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.2585, allocations: 0 / 1.097 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0007617/0.2592, allocations: 209.4 kB / 1.097 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.2593, allocations: 63.39 kB / 1.097 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.2596, allocations: 229.9 kB / 1.098 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.2596, allocations: 25.7 kB / 1.098 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.2597, allocations: 148.4 kB / 1.098 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.2598, allocations: 39.62 kB / 1.098 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.832e-05/0.2599, allocations: 33.66 kB / 1.098 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.2601, allocations: 334.8 kB / 1.098 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.2602, allocations: 44.83 kB / 1.098 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002621/0.2605, allocations: 221.6 kB / 1.098 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.2607, allocations: 127.4 kB / 1.099 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2608, allocations: 0 / 1.099 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003725/0.2611, allocations: 161.3 kB / 1.099 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.2611, allocations: 6.594 kB / 1.099 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.2611, allocations: 0 / 1.099 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.2612, allocations: 4 kB / 1.099 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.2613, allocations: 24.02 kB / 1.099 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.2613, allocations: 0 / 1.099 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.2615, allocations: 23.91 kB / 1.099 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.2615, allocations: 15.92 kB / 1.099 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002284/0.2617, allocations: 144.1 kB / 1.099 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002627/0.262, allocations: 221.6 kB / 1.099 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002794/0.2623, allocations: 123.4 kB / 1.099 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.2623, allocations: 0 / 1.099 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003501/0.2626, allocations: 157.4 kB / 1.099 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.2626, allocations: 4 kB / 1.099 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2626, allocations: 4 kB / 1.099 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-06/0.2627, allocations: 0 / 1.099 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.2628, allocations: 19.98 kB / 1.099 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-06/0.2628, allocations: 4.031 kB / 1.099 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.2629, allocations: 19.98 kB / 1.099 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.2629, allocations: 4 kB / 1.099 GB, free: 2.699 MB / 0.9981 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.0001419/0.2631, allocations: 196.1 kB / 1.1 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.2631, allocations: 19.86 kB / 1.1 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004151/0.2636, allocations: 151.3 kB / 1.1 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.2636, allocations: 7.984 kB / 1.1 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2636, allocations: 4 kB / 1.1 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2636, allocations: 0 / 1.1 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009413/0.2645, allocations: 0.5153 MB / 1.1 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.2645, allocations: 4 kB / 1.1 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.2646, allocations: 28.14 kB / 1.1 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.2646, allocations: 15.88 kB / 1.1 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.2647, allocations: 0 / 1.1 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.816e-06/0.2647, allocations: 7.984 kB / 1.1 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.2647, allocations: 4 kB / 1.1 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004348/0.2651, allocations: 281.6 kB / 1.101 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.2652, allocations: 31.92 kB / 1.101 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.2652, allocations: 12 kB / 1.101 GB, free: 1.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.2654, allocations: 19.97 kB / 1.101 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.2655, allocations: 19.92 kB / 1.101 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.2655, allocations: 4 kB / 1.101 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001677/0.2656, allocations: 165.2 kB / 1.101 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.2656, allocations: 0 / 1.101 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004959/0.2661, allocations: 103.7 kB / 1.101 GB, free: 1.023 MB / 0.9981 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.0003307/0.2665, allocations: 159.3 kB / 1.101 GB, free: 0.8594 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005306/0.267, allocations: 163.8 kB / 1.101 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.267, allocations: 0 / 1.101 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.2672, allocations: 59.89 kB / 1.101 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007192/0.2679, allocations: 98.81 kB / 1.101 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008753/0.2688, allocations: 429 kB / 1.102 GB, free: 80 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6013/0.8701, allocations: 142.8 kB / 1.102 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000361/0.8704, allocations: 62.58 kB / 1.102 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-05/0.8705, allocations: 20.75 kB / 1.102 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.693e-06/0.8705, allocations: 0 / 1.102 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.01152/0.882, allocations: 3.923 MB / 1.106 GB, free: 163 MB / 0.9981 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 9.607742335647345]