Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001756/0.001756, allocations: 111.9 kB / 16.41 MB, free: 6.016 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.001855/0.001855, allocations: 190.6 kB / 17.34 MB, free: 5.629 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.562/1.562, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.825/2.825, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.89 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.854/0.856, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2864/1.142, allocations: 241.9 MB / 1.404 GB, free: 1 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02042/1.163, allocations: 13.52 MB / 1.417 GB, free: 3.434 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/1.165, allocations: 59.62 kB / 1.417 GB, free: 3.375 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002761/1.168, allocations: 1.021 MB / 1.418 GB, free: 2.348 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005045/1.173, allocations: 1.862 MB / 1.42 GB, free: 492 kB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003412/1.176, allocations: 1.247 MB / 1.421 GB, free: 15.25 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005914/1.182, allocations: 3.266 MB / 1.424 GB, free: 11.97 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002603/1.185, allocations: 1.047 MB / 1.425 GB, free: 10.89 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01232/1.197, allocations: 4.258 MB / 1.429 GB, free: 6.621 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002021/1.199, allocations: 0.8983 MB / 1.43 GB, free: 5.719 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003838/1.2, allocations: 80 kB / 1.43 GB, free: 5.641 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/1.202, allocations: 0.6975 MB / 1.431 GB, free: 4.941 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006315/1.202, allocations: 442.6 kB / 1.431 GB, free: 4.508 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001276/1.204, allocations: 0.6839 MB / 1.432 GB, free: 3.82 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002743/1.206, allocations: 1.525 MB / 1.433 GB, free: 2.289 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.206, allocations: 0 / 1.433 GB, free: 2.289 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.763e-06/1.206, allocations: 4 kB / 1.433 GB, free: 2.285 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.81e-05/1.206, allocations: 4 kB / 1.433 GB, free: 2.281 MB / 1.154 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.002815/1.209, allocations: 1.665 MB / 1.435 GB, free: 0.5625 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.209, allocations: 8.922 kB / 1.435 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007584/1.21, allocations: 214.9 kB / 1.435 GB, free: 352 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/1.212, allocations: 0.9062 MB / 1.436 GB, free: 15.38 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/1.212, allocations: 129.3 kB / 1.436 GB, free: 15.24 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/1.212, allocations: 87.98 kB / 1.436 GB, free: 15.16 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/1.214, allocations: 0.9143 MB / 1.437 GB, free: 14.15 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/1.214, allocations: 3.938 kB / 1.437 GB, free: 14.15 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.175e-05/1.214, allocations: 40 kB / 1.437 GB, free: 14.11 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/1.214, allocations: 20 kB / 1.437 GB, free: 14.09 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009199/1.215, allocations: 0.5032 MB / 1.438 GB, free: 13.59 MB / 1.17 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.005903/1.221, allocations: 4.87 MB / 1.443 GB, free: 8.406 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006829/1.221, allocations: 420.6 kB / 1.443 GB, free: 7.867 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004116/1.222, allocations: 272 kB / 1.443 GB, free: 7.559 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002065/1.222, allocations: 101.1 kB / 1.443 GB, free: 7.441 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.702e-05/1.222, allocations: 58.22 kB / 1.443 GB, free: 7.375 MB / 1.17 GB Notification: Performance of pre-optimization done (n=31): time 2.605e-06/1.222, allocations: 0 / 1.443 GB, free: 7.375 MB / 1.17 GB Notification: Performance of matching and sorting (n=31): time 0.002073/1.224, allocations: 0.7829 MB / 1.444 GB, free: 6.543 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002449/1.224, allocations: 401.5 kB / 1.445 GB, free: 6.059 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/1.226, allocations: 1.275 MB / 1.446 GB, free: 4.773 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.595e-05/1.226, allocations: 33.7 kB / 1.446 GB, free: 4.734 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005701/1.227, allocations: 0.5501 MB / 1.446 GB, free: 4.18 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/1.227, allocations: 115 kB / 1.446 GB, free: 4.066 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/1.227, allocations: 93.58 kB / 1.447 GB, free: 3.969 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001554/1.227, allocations: 317.9 kB / 1.447 GB, free: 3.652 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/1.228, allocations: 91.94 kB / 1.447 GB, free: 3.562 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/1.228, allocations: 341.1 kB / 1.447 GB, free: 3.137 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005587/1.229, allocations: 324.6 kB / 1.448 GB, free: 2.773 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/1.229, allocations: 0 / 1.448 GB, free: 2.773 MB / 1.17 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001049/1.23, allocations: 0.494 MB / 1.448 GB, free: 2.266 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.23, allocations: 4.344 kB / 1.448 GB, free: 2.262 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/1.23, allocations: 11.98 kB / 1.448 GB, free: 2.25 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/1.23, allocations: 69.67 kB / 1.448 GB, free: 2.176 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/1.23, allocations: 59.91 kB / 1.448 GB, free: 2.117 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003087/1.233, allocations: 3.262 MB / 1.451 GB, free: 14.58 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008521/1.234, allocations: 95.47 kB / 1.451 GB, free: 14.49 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/1.234, allocations: 27.98 kB / 1.452 GB, free: 14.46 MB / 1.186 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.0004999/1.235, allocations: 273.6 kB / 1.452 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004926/1.235, allocations: 147.1 kB / 1.452 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/1.236, allocations: 128 kB / 1.452 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/1.236, allocations: 7.938 kB / 1.452 GB, free: 13.9 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.236, allocations: 11.94 kB / 1.452 GB, free: 13.89 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/1.236, allocations: 7.984 kB / 1.452 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003671/1.239, allocations: 2.505 MB / 1.455 GB, free: 11.23 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/1.239, allocations: 8.031 kB / 1.455 GB, free: 11.22 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/1.24, allocations: 47.92 kB / 1.455 GB, free: 11.18 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002133/1.24, allocations: 77.73 kB / 1.455 GB, free: 11.09 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/1.24, allocations: 15.98 kB / 1.455 GB, free: 11.08 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002948/1.243, allocations: 3.262 MB / 1.458 GB, free: 7.531 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.936e-05/1.243, allocations: 11.94 kB / 1.458 GB, free: 7.52 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/1.244, allocations: 0.6934 MB / 1.459 GB, free: 6.734 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005338/1.245, allocations: 256.1 kB / 1.459 GB, free: 6.465 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001498/1.245, allocations: 16 kB / 1.459 GB, free: 6.449 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006581/1.245, allocations: 43.94 kB / 1.459 GB, free: 6.406 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.246, allocations: 47.78 kB / 1.459 GB, free: 6.359 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/1.246, allocations: 12 kB / 1.459 GB, free: 6.348 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001321/1.247, allocations: 0.8802 MB / 1.46 GB, free: 5.469 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.41e-07/1.247, allocations: 0 / 1.46 GB, free: 5.469 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001116/1.248, allocations: 263.8 kB / 1.46 GB, free: 5.211 MB / 1.186 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.000569/1.249, allocations: 212.8 kB / 1.46 GB, free: 5.008 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001107/1.25, allocations: 0.5165 MB / 1.461 GB, free: 4.465 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.974e-06/1.25, allocations: 4 kB / 1.461 GB, free: 4.461 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005957/1.25, allocations: 402.4 kB / 1.461 GB, free: 4.043 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/1.254, allocations: 0.7414 MB / 1.462 GB, free: 3.305 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/1.257, allocations: 1.863 MB / 1.464 GB, free: 1.344 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008857/1.258, allocations: 1.138 MB / 1.465 GB, free: 180 kB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009192/1.259, allocations: 242.6 kB / 1.465 GB, free: 15.93 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/1.259, allocations: 83.44 kB / 1.465 GB, free: 15.85 MB / 1.201 GB Notification: Performance of SimCode: time 9.11e-07/1.259, allocations: 0 / 1.465 GB, free: 15.85 MB / 1.201 GB Notification: Performance of Templates: time 0.04607/1.305, allocations: 23.44 MB / 1.488 GB, free: 8.715 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches