Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res11.m_flow|res21.m_flow|res31.dp|res41.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009988/0.000999, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.791/2.791, allocations: 436.5 MB / 0.7104 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 8 kB / 0.8707 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7655/0.7659, allocations: 153.7 MB / 1.021 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit): time 0.2522/1.018, allocations: 198 MB / 1.214 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01775/1.036, allocations: 12.03 MB / 1.226 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00215/1.038, allocations: 47.62 kB / 1.226 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003425/1.042, allocations: 0.9256 MB / 1.227 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00762/1.049, allocations: 2.247 MB / 1.229 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004558/1.054, allocations: 1.415 MB / 1.23 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004705/1.059, allocations: 1.987 MB / 1.232 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/1.06, allocations: 0.835 MB / 1.233 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008142/1.068, allocations: 2.446 MB / 1.236 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/1.07, allocations: 0.5872 MB / 1.236 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002743/1.07, allocations: 48 kB / 1.236 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/1.073, allocations: 0.7216 MB / 1.237 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004666/1.073, allocations: 366.9 kB / 1.237 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005347/1.074, allocations: 296.9 kB / 1.238 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00162/1.075, allocations: 1.146 MB / 1.239 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.075, allocations: 4 kB / 1.239 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.467e-06/1.075, allocations: 0 / 1.239 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.897e-05/1.076, allocations: 0 / 1.239 GB, free: 1.574 MB / 0.9825 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.002385/1.078, allocations: 1.409 MB / 1.24 GB, free: 112 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/1.078, allocations: 11.98 kB / 1.24 GB, free: 100 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000694/1.079, allocations: 194.2 kB / 1.24 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/1.08, allocations: 0.7967 MB / 1.241 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/1.08, allocations: 121.4 kB / 1.241 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/1.08, allocations: 88 kB / 1.241 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/1.082, allocations: 0.9376 MB / 1.242 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/1.082, allocations: 0 / 1.242 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-05/1.082, allocations: 43.95 kB / 1.242 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/1.082, allocations: 20 kB / 1.242 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008849/1.083, allocations: 0.5189 MB / 1.243 GB, free: 13.23 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.005359/1.088, allocations: 4.912 MB / 1.248 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006048/1.089, allocations: 436.6 kB / 1.248 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.469e-05/1.089, allocations: 11.98 kB / 1.248 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/1.089, allocations: 62.42 kB / 1.248 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=35): time 2.915e-06/1.089, allocations: 3.938 kB / 1.248 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of matching and sorting (n=35): time 0.002371/1.091, allocations: 0.8956 MB / 1.249 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001927/1.092, allocations: 397.5 kB / 1.249 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/1.093, allocations: 1.228 MB / 1.25 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.961e-05/1.093, allocations: 33.7 kB / 1.251 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004484/1.094, allocations: 0.5457 MB / 1.251 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/1.094, allocations: 122.2 kB / 1.251 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/1.094, allocations: 8 kB / 1.251 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.094, allocations: 322 kB / 1.251 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/1.094, allocations: 95.94 kB / 1.252 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/1.095, allocations: 338.2 kB / 1.252 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/1.095, allocations: 143.9 kB / 1.252 GB, free: 3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.095, allocations: 4 kB / 1.252 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001214/1.096, allocations: 0.5521 MB / 1.253 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005555/1.097, allocations: 1.347 MB / 1.254 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.097, allocations: 7.953 kB / 1.254 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/1.097, allocations: 117.5 kB / 1.254 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/1.098, allocations: 103.8 kB / 1.254 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6611/1.759, allocations: 2.304 MB / 1.256 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/1.76, allocations: 110.3 kB / 1.256 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.97e-05/1.76, allocations: 23.66 kB / 1.256 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.76, allocations: 3.562 kB / 1.256 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00109/1.761, allocations: 366.2 kB / 1.257 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.761, allocations: 3.969 kB / 1.257 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003181/1.762, allocations: 71.53 kB / 1.257 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/1.762, allocations: 70.31 kB / 1.257 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/1.765, allocations: 3.044 MB / 1.26 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/1.766, allocations: 116 kB / 1.26 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-05/1.766, allocations: 21.42 kB / 1.26 GB, free: 228.5 MB / 0.9981 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): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009911/1.767, allocations: 347.9 kB / 1.26 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007456/1.768, allocations: 140.8 kB / 1.261 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/1.77, allocations: 450.7 kB / 1.261 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.44e-05/1.77, allocations: 10.36 kB / 1.261 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/1.77, allocations: 3.906 kB / 1.261 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/1.77, allocations: 9.609 kB / 1.261 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004152/1.774, allocations: 2.558 MB / 1.263 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.774, allocations: 5.062 kB / 1.263 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/1.774, allocations: 72.53 kB / 1.264 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002366/1.774, allocations: 80.31 kB / 1.264 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/1.774, allocations: 17.19 kB / 1.264 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008866/1.775, allocations: 2.312 MB / 1.266 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/1.775, allocations: 9.781 kB / 1.266 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/1.777, allocations: 1.079 MB / 1.267 GB, free: 223.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00053/1.777, allocations: 267 kB / 1.267 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/1.777, allocations: 16.03 kB / 1.267 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007624/1.778, allocations: 64.36 kB / 1.267 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.778, allocations: 37.53 kB / 1.267 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/1.778, allocations: 21.94 kB / 1.267 GB, free: 222.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001669/1.78, allocations: 0.8503 MB / 1.268 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.31e-07/1.78, allocations: 2.406 kB / 1.268 GB, free: 222.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002085/1.782, allocations: 448 kB / 1.269 GB, free: 222.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005818/1.783, allocations: 231.6 kB / 1.269 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002036/1.785, allocations: 0.7418 MB / 1.27 GB, free: 222 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.785, allocations: 1.219 kB / 1.27 GB, free: 222 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006016/1.785, allocations: 196.4 kB / 1.27 GB, free: 222 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004296/1.79, allocations: 0.7576 MB / 1.27 GB, free: 221.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003532/1.793, allocations: 2.075 MB / 1.273 GB, free: 220.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009691/1.794, allocations: 1.157 MB / 1.274 GB, free: 219.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001527/1.796, allocations: 287.9 kB / 1.274 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/1.796, allocations: 82.27 kB / 1.274 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.192e-06/1.796, allocations: 0 / 1.274 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.04293/1.839, allocations: 22.68 MB / 1.296 GB, free: 208.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches