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.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.PressureDropsExplicitLinearized,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.PressureDropsExplicitLinearized") translateModel(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,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.PressureDropsExplicitLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 100 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.001309/0.001309, allocations: 177.3 kB / 15.95 MB, free: 216 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.559/1.559, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.667/2.667, allocations: 436.5 MB / 0.7104 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003307, allocations: 11.94 kB / 0.8708 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7511, allocations: 153.6 MB / 1.021 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2417/0.9928, allocations: 198.1 MB / 1.214 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01599/1.009, allocations: 12.02 MB / 1.226 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/1.011, allocations: 47.62 kB / 1.226 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003034/1.014, allocations: 0.9372 MB / 1.227 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007185/1.021, allocations: 2.231 MB / 1.229 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004173/1.025, allocations: 1.423 MB / 1.231 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004322/1.03, allocations: 1.972 MB / 1.232 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/1.031, allocations: 0.8194 MB / 1.233 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006939/1.038, allocations: 2.442 MB / 1.236 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/1.039, allocations: 0.5872 MB / 1.236 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001626/1.04, allocations: 48 kB / 1.236 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/1.041, allocations: 379.5 kB / 1.237 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003688/1.041, allocations: 366.8 kB / 1.237 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003658/1.042, allocations: 285 kB / 1.237 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/1.043, allocations: 1.056 MB / 1.238 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/1.043, allocations: 0 / 1.238 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.016e-06/1.043, allocations: 0 / 1.238 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.479e-05/1.043, allocations: 0 / 1.238 GB, free: 1.949 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.002049/1.045, allocations: 1.394 MB / 1.24 GB, free: 0.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.045, allocations: 11.98 kB / 1.24 GB, free: 500 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006188/1.046, allocations: 194.2 kB / 1.24 GB, free: 304 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/1.047, allocations: 0.7966 MB / 1.241 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/1.047, allocations: 121.4 kB / 1.241 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/1.047, allocations: 88 kB / 1.241 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/1.049, allocations: 0.9142 MB / 1.242 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/1.049, allocations: 7.922 kB / 1.242 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/1.049, allocations: 35.95 kB / 1.242 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/1.049, allocations: 24 kB / 1.242 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008372/1.05, allocations: 0.5072 MB / 1.242 GB, free: 13.65 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.00468/1.054, allocations: 4.888 MB / 1.247 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/1.055, allocations: 424.7 kB / 1.247 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.79e-05/1.055, allocations: 11.94 kB / 1.247 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/1.055, allocations: 54.45 kB / 1.247 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/1.055, allocations: 0 / 1.247 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001848/1.057, allocations: 0.8017 MB / 1.248 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002031/1.057, allocations: 401.4 kB / 1.249 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/1.059, allocations: 1.259 MB / 1.25 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/1.059, allocations: 37.7 kB / 1.25 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/1.059, allocations: 0.5533 MB / 1.25 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.82e-05/1.059, allocations: 114.5 kB / 1.251 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/1.059, allocations: 8 kB / 1.251 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001247/1.059, allocations: 318 kB / 1.251 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/1.059, allocations: 95.92 kB / 1.251 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/1.06, allocations: 338.2 kB / 1.251 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002405/1.06, allocations: 144 kB / 1.251 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.06, allocations: 4 kB / 1.251 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008485/1.061, allocations: 0.4937 MB / 1.252 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/1.061, allocations: 5.406 kB / 1.252 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/1.061, allocations: 4 kB / 1.252 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003/1.061, allocations: 69.67 kB / 1.252 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/1.062, allocations: 68.03 kB / 1.252 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6843/1.746, allocations: 3.034 MB / 1.255 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/1.747, allocations: 110.2 kB / 1.255 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.507e-05/1.747, allocations: 24.52 kB / 1.255 GB, free: 231.9 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): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005856/1.748, allocations: 274.3 kB / 1.255 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004212/1.748, allocations: 138.8 kB / 1.256 GB, free: 231.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002501/1.749, allocations: 126.3 kB / 1.256 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/1.749, allocations: 8.047 kB / 1.256 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/1.749, allocations: 5.531 kB / 1.256 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.749, allocations: 5.312 kB / 1.256 GB, free: 231.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/1.752, allocations: 2.532 MB / 1.258 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/1.752, allocations: 5.406 kB / 1.258 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/1.752, allocations: 53.27 kB / 1.258 GB, free: 230.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002081/1.753, allocations: 73.31 kB / 1.258 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/1.753, allocations: 11.12 kB / 1.258 GB, free: 230.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/1.755, allocations: 2.945 MB / 1.261 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/1.755, allocations: 5.781 kB / 1.261 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/1.757, allocations: 0.9999 MB / 1.262 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000597/1.757, allocations: 248.1 kB / 1.262 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/1.757, allocations: 18.19 kB / 1.262 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000756/1.758, allocations: 65.23 kB / 1.262 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/1.758, allocations: 43.41 kB / 1.262 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/1.758, allocations: 15.52 kB / 1.263 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001566/1.76, allocations: 0.8653 MB / 1.263 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.76, allocations: 2.5 kB / 1.263 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001302/1.761, allocations: 263.5 kB / 1.264 GB, free: 226.1 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005417/1.762, allocations: 205.7 kB / 1.264 GB, free: 226 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001174/1.763, allocations: 0.5306 MB / 1.264 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.763, allocations: 0.9375 kB / 1.264 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006184/1.763, allocations: 407.2 kB / 1.265 GB, free: 225.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003976/1.767, allocations: 0.754 MB / 1.265 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/1.771, allocations: 2.08 MB / 1.267 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009978/1.772, allocations: 1.159 MB / 1.269 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001171/1.773, allocations: 250.5 kB / 1.269 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/1.773, allocations: 77.05 kB / 1.269 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.232e-06/1.773, allocations: 0 / 1.269 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.04449/1.818, allocations: 21.61 MB / 1.29 GB, free: 214 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches