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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001608/0.001616, allocations: 111.8 kB / 16.27 MB, free: 6.414 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.001691/0.001691, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.648/2.648, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 60.91 kB / 0.9245 GB, free: 4 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7162/0.7181, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2826/1.001, allocations: 242 MB / 1.319 GB, free: 12.22 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01918/1.02, allocations: 13.55 MB / 1.332 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/1.022, allocations: 55.62 kB / 1.333 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002868/1.025, allocations: 0.9782 MB / 1.333 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00505/1.03, allocations: 1.749 MB / 1.335 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003188/1.033, allocations: 1.216 MB / 1.336 GB, free: 10.63 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004753/1.038, allocations: 3.239 MB / 1.34 GB, free: 7.379 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/1.04, allocations: 1.059 MB / 1.341 GB, free: 6.297 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009493/1.049, allocations: 4.168 MB / 1.345 GB, free: 2.113 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001743/1.051, allocations: 0.8672 MB / 1.345 GB, free: 1.242 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002529/1.051, allocations: 76 kB / 1.346 GB, free: 1.168 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001621/1.053, allocations: 0.6936 MB / 1.346 GB, free: 484 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004577/1.054, allocations: 442.5 kB / 1.347 GB, free: 40 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008876/1.054, allocations: 0.6801 MB / 1.347 GB, free: 15.35 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002231/1.057, allocations: 1.491 MB / 1.349 GB, free: 13.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.057, allocations: 0 / 1.349 GB, free: 13.86 MB / 1.076 GB Notification: Performance of FrontEnd: time 3.727e-06/1.057, allocations: 0 / 1.349 GB, free: 13.86 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.179e-05/1.057, allocations: 3.938 kB / 1.349 GB, free: 13.86 MB / 1.076 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.002494/1.059, allocations: 1.619 MB / 1.35 GB, free: 12.18 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/1.059, allocations: 8.031 kB / 1.35 GB, free: 12.17 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006992/1.06, allocations: 210 kB / 1.351 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/1.061, allocations: 0.827 MB / 1.351 GB, free: 11.08 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/1.061, allocations: 125.4 kB / 1.351 GB, free: 10.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/1.062, allocations: 80 kB / 1.352 GB, free: 10.87 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/1.063, allocations: 0.922 MB / 1.352 GB, free: 9.859 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/1.063, allocations: 8 kB / 1.352 GB, free: 9.852 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-05/1.063, allocations: 32 kB / 1.352 GB, free: 9.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/1.063, allocations: 20 kB / 1.353 GB, free: 9.801 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009038/1.064, allocations: 0.5072 MB / 1.353 GB, free: 9.293 MB / 1.076 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.004977/1.069, allocations: 4.896 MB / 1.358 GB, free: 4.086 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006561/1.07, allocations: 416.6 kB / 1.358 GB, free: 3.551 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/1.07, allocations: 255.9 kB / 1.358 GB, free: 3.258 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/1.07, allocations: 101 kB / 1.359 GB, free: 3.141 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/1.07, allocations: 62.48 kB / 1.359 GB, free: 3.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=31): time 2.785e-06/1.07, allocations: 0 / 1.359 GB, free: 3.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=31): time 0.001919/1.072, allocations: 0.778 MB / 1.359 GB, free: 2.242 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002192/1.073, allocations: 401.8 kB / 1.36 GB, free: 1.758 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/1.074, allocations: 1.271 MB / 1.361 GB, free: 488 kB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.523e-05/1.074, allocations: 33.7 kB / 1.361 GB, free: 448 kB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/1.075, allocations: 0.5573 MB / 1.362 GB, free: 15.88 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.873e-05/1.075, allocations: 110.4 kB / 1.362 GB, free: 15.77 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/1.075, allocations: 81.69 kB / 1.362 GB, free: 15.68 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.075, allocations: 317.9 kB / 1.362 GB, free: 15.36 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/1.075, allocations: 99.92 kB / 1.362 GB, free: 15.27 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/1.076, allocations: 334.2 kB / 1.362 GB, free: 14.84 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005199/1.076, allocations: 332.5 kB / 1.363 GB, free: 14.47 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.076, allocations: 0 / 1.363 GB, free: 14.47 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008724/1.077, allocations: 497.2 kB / 1.363 GB, free: 13.97 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.077, allocations: 4 kB / 1.363 GB, free: 13.97 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/1.077, allocations: 4 kB / 1.363 GB, free: 13.96 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002716/1.078, allocations: 74.16 kB / 1.363 GB, free: 13.89 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/1.078, allocations: 63.89 kB / 1.363 GB, free: 13.82 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/1.08, allocations: 3.259 MB / 1.367 GB, free: 10.29 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007749/1.081, allocations: 99.14 kB / 1.367 GB, free: 10.19 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.298e-05/1.081, allocations: 27.92 kB / 1.367 GB, free: 10.16 MB / 1.092 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.0004206/1.082, allocations: 269.7 kB / 1.367 GB, free: 9.891 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003967/1.082, allocations: 138.4 kB / 1.367 GB, free: 9.754 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/1.082, allocations: 132 kB / 1.367 GB, free: 9.621 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.082, allocations: 7.938 kB / 1.367 GB, free: 9.613 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/1.082, allocations: 4 kB / 1.367 GB, free: 9.609 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/1.082, allocations: 4 kB / 1.367 GB, free: 9.605 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003202/1.086, allocations: 2.52 MB / 1.37 GB, free: 6.941 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/1.086, allocations: 4 kB / 1.37 GB, free: 6.938 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/1.086, allocations: 51.91 kB / 1.37 GB, free: 6.887 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/1.086, allocations: 69.89 kB / 1.37 GB, free: 6.812 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/1.086, allocations: 19.94 kB / 1.37 GB, free: 6.793 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/1.089, allocations: 3.262 MB / 1.373 GB, free: 3.258 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.089, allocations: 8 kB / 1.373 GB, free: 3.25 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000973/1.09, allocations: 0.6728 MB / 1.374 GB, free: 2.484 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/1.09, allocations: 247.4 kB / 1.374 GB, free: 2.223 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/1.09, allocations: 12 kB / 1.374 GB, free: 2.211 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006473/1.091, allocations: 43.95 kB / 1.374 GB, free: 2.168 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/1.091, allocations: 47.83 kB / 1.374 GB, free: 2.121 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/1.091, allocations: 12.19 kB / 1.374 GB, free: 2.109 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001131/1.092, allocations: 0.8763 MB / 1.375 GB, free: 1.234 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.092, allocations: 3.938 kB / 1.375 GB, free: 1.23 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009106/1.093, allocations: 259.7 kB / 1.375 GB, free: 0.9766 MB / 1.092 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.000442/1.094, allocations: 213.8 kB / 1.375 GB, free: 0.7695 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0009072/1.095, allocations: 0.5242 MB / 1.376 GB, free: 224 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.095, allocations: 0 / 1.376 GB, free: 224 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005572/1.095, allocations: 411 kB / 1.376 GB, free: 15.79 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003231/1.098, allocations: 0.7458 MB / 1.377 GB, free: 15.07 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/1.101, allocations: 1.905 MB / 1.379 GB, free: 13.05 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007632/1.102, allocations: 1.134 MB / 1.38 GB, free: 11.89 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/1.102, allocations: 79.44 kB / 1.38 GB, free: 11.81 MB / 1.107 GB Notification: Performance of SimCode: time 2.21e-07/1.102, allocations: 0 / 1.38 GB, free: 11.81 MB / 1.107 GB Notification: Performance of Templates: time 0.03549/1.137, allocations: 27.57 MB / 1.407 GB, free: 408 kB / 1.123 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=400 -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches