Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009375/0.0009375, allocations: 71.75 kB / 20.97 MB, free: 3.566 MB / 18.57 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.001052/0.001052, allocations: 169 kB / 24.28 MB, free: 268 kB / 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 0.8928/0.8928, allocations: 177.1 MB / 204.6 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 1.884/1.884, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] 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.Validation.PressureDropsExplicitLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.084e-05/3.254e-05, allocations: 3.312 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.1812/0.1813, allocations: 241.1 MB / 1.047 GB, free: 160 kB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.3966/0.5778, allocations: 13.9 MB / 1.061 GB, free: 48.41 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.5797, allocations: 91.81 kB / 1.061 GB, free: 48.41 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.5817, allocations: 0.9672 MB / 1.062 GB, free: 48.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.003619/0.5853, allocations: 1.916 MB / 1.063 GB, free: 48.32 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.5877, allocations: 1.409 MB / 1.065 GB, free: 48.29 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003595/0.5913, allocations: 3.278 MB / 1.068 GB, free: 48.25 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.5925, allocations: 0.8708 MB / 1.069 GB, free: 48.14 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007822/0.6003, allocations: 4.746 MB / 1.074 GB, free: 47.57 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.6017, allocations: 0.8014 MB / 1.074 GB, free: 47.46 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.6018, allocations: 83.31 kB / 1.074 GB, free: 47.46 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.6029, allocations: 0.5946 MB / 1.075 GB, free: 47.39 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003347/0.6033, allocations: 497.5 kB / 1.075 GB, free: 47.32 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004754/0.6037, allocations: 476.8 kB / 1.076 GB, free: 47.26 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.6052, allocations: 1.174 MB / 1.077 GB, free: 47.06 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6052, allocations: 2.875 kB / 1.077 GB, free: 47.06 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6052, allocations: 0 / 1.077 GB, free: 47.06 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.546e-05/0.6052, allocations: 0.9062 kB / 1.077 GB, free: 47.06 MB / 0.9948 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.001431/0.6066, allocations: 1.731 MB / 1.079 GB, free: 46.11 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.6067, allocations: 9.562 kB / 1.079 GB, free: 46.11 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005405/0.6072, allocations: 282.7 kB / 1.079 GB, free: 46.02 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000888/0.6081, allocations: 0.9142 MB / 1.08 GB, free: 45.66 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.49e-05/0.6082, allocations: 173.3 kB / 1.08 GB, free: 45.53 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.6083, allocations: 84.66 kB / 1.08 GB, free: 45.53 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006846/0.6089, allocations: 0.8773 MB / 1.081 GB, free: 45.02 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.609, allocations: 3.094 kB / 1.081 GB, free: 45.02 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.57e-05/0.609, allocations: 34.84 kB / 1.081 GB, free: 45.02 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.609, allocations: 21.81 kB / 1.081 GB, free: 45.02 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003414/0.6094, allocations: 261.6 kB / 1.081 GB, free: 45.01 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.002233/0.6116, allocations: 5.013 MB / 1.086 GB, free: 41.24 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.6119, allocations: 459.6 kB / 1.087 GB, free: 40.74 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.612, allocations: 197.2 kB / 1.087 GB, free: 40.58 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.6121, allocations: 35.36 kB / 1.087 GB, free: 40.58 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.6121, allocations: 52.02 kB / 1.087 GB, free: 40.54 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.6122, allocations: 0 / 1.087 GB, free: 40.54 MB / 0.9948 GB Notification: Performance of matching and sorting (n=31): time 0.0008535/0.613, allocations: 461.8 kB / 1.087 GB, free: 40.41 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.6131, allocations: 401.8 kB / 1.088 GB, free: 39.95 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006243/0.6137, allocations: 0.8758 MB / 1.089 GB, free: 39.74 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.6137, allocations: 40.02 kB / 1.089 GB, free: 39.71 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.614, allocations: 0.6457 MB / 1.089 GB, free: 39.44 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.6141, allocations: 118.4 kB / 1.089 GB, free: 39.37 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.569e-05/0.6142, allocations: 92.12 kB / 1.09 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.575e-05/0.6142, allocations: 0.4906 MB / 1.09 GB, free: 38.86 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.837e-05/0.6143, allocations: 29.53 kB / 1.09 GB, free: 38.86 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.6146, allocations: 0.9895 MB / 1.091 GB, free: 37.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.6148, allocations: 242 kB / 1.091 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.6148, allocations: 1.875 kB / 1.091 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000544/0.6153, allocations: 366.3 kB / 1.092 GB, free: 37.39 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.6154, allocations: 6.688 kB / 1.092 GB, free: 37.39 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.6154, allocations: 4.344 kB / 1.092 GB, free: 37.39 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/0.6157, allocations: 89.66 kB / 1.092 GB, free: 37.36 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.6159, allocations: 55.39 kB / 1.092 GB, free: 37.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.6171, allocations: 4.079 MB / 1.096 GB, free: 33.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.6175, allocations: 30.86 kB / 1.096 GB, free: 33.46 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.6175, allocations: 24.58 kB / 1.096 GB, free: 33.46 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 29 * 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.0001838/0.6177, allocations: 194.1 kB / 1.096 GB, free: 33.29 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.6179, allocations: 126.6 kB / 1.096 GB, free: 33.23 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.541e-05/0.618, allocations: 96.28 kB / 1.096 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.618, allocations: 13.55 kB / 1.096 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.618, allocations: 6.625 kB / 1.096 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.618, allocations: 3.406 kB / 1.096 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.6197, allocations: 2.822 MB / 1.099 GB, free: 31.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6197, allocations: 5.188 kB / 1.099 GB, free: 31.09 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.56e-05/0.6198, allocations: 44.23 kB / 1.099 GB, free: 31.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/0.6201, allocations: 99.19 kB / 1.099 GB, free: 31.06 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.6201, allocations: 11.19 kB / 1.099 GB, free: 31.06 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.6212, allocations: 4.071 MB / 1.103 GB, free: 27.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.6212, allocations: 18.05 kB / 1.103 GB, free: 27.16 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.6216, allocations: 0.6448 MB / 1.104 GB, free: 26.62 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.6218, allocations: 141.6 kB / 1.104 GB, free: 26.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.6219, allocations: 16.09 kB / 1.104 GB, free: 26.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.6222, allocations: 19.86 kB / 1.104 GB, free: 26.55 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.336e-05/0.6222, allocations: 50.12 kB / 1.104 GB, free: 26.55 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.6223, allocations: 17.81 kB / 1.104 GB, free: 26.55 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004784/0.6227, allocations: 0.555 MB / 1.104 GB, free: 26.39 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.6227, allocations: 1 kB / 1.104 GB, free: 26.39 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0007957/0.6235, allocations: 299.2 kB / 1.105 GB, free: 26.35 MB / 0.9948 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.0002784/0.6238, allocations: 199.2 kB / 1.105 GB, free: 26.25 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000509/0.6243, allocations: 0.5311 MB / 1.105 GB, free: 25.89 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.6243, allocations: 2 kB / 1.105 GB, free: 25.89 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.6245, allocations: 460.8 kB / 1.106 GB, free: 25.53 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.6258, allocations: 441.7 kB / 1.106 GB, free: 25.48 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.6279, allocations: 1.822 MB / 1.108 GB, free: 24.38 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.6281, allocations: 239.9 kB / 1.108 GB, free: 24.3 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004871/0.6285, allocations: 171.5 kB / 1.108 GB, free: 24.29 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.6286, allocations: 60.77 kB / 1.109 GB, free: 24.28 MB / 0.9948 GB Notification: Performance of SimCode: time 1.523e-06/0.6286, allocations: 1.156 kB / 1.109 GB, free: 24.28 MB / 0.9948 GB Notification: Performance of Templates: time 0.02337/0.652, allocations: 16.13 MB / 1.124 GB, free: 22.61 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.902453018119559]