Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001567/0.001567, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.003194/0.003194, allocations: 191 kB / 16.25 MB, free: 6.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.485/1.485, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.2 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.91 kB / 0.812 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7749/0.7762, allocations: 140.4 MB / 0.9491 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2771/1.053, allocations: 239 MB / 1.182 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01817/1.072, allocations: 13.46 MB / 1.196 GB, free: 4.824 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003014/1.075, allocations: 51.62 kB / 1.196 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00329/1.078, allocations: 0.8549 MB / 1.196 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005518/1.084, allocations: 1.67 MB / 1.198 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003455/1.087, allocations: 1.124 MB / 1.199 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004974/1.092, allocations: 3.277 MB / 1.202 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/1.094, allocations: 1.008 MB / 1.203 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01005/1.104, allocations: 4.021 MB / 1.207 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001544/1.105, allocations: 0.9645 MB / 1.208 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000182/1.106, allocations: 76 kB / 1.208 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/1.107, allocations: 0.7441 MB / 1.209 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005146/1.108, allocations: 442.6 kB / 1.21 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007673/1.108, allocations: 0.6839 MB / 1.21 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001831/1.11, allocations: 1.58 MB / 1.212 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.11, allocations: 0 / 1.212 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/1.11, allocations: 0 / 1.212 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.88e-05/1.11, allocations: 0 / 1.212 GB, free: 4.277 MB / 0.9669 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.002114/1.112, allocations: 1.619 MB / 1.213 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.113, allocations: 8.031 kB / 1.213 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006426/1.113, allocations: 202.1 kB / 1.213 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/1.114, allocations: 0.8386 MB / 1.214 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/1.114, allocations: 117.4 kB / 1.214 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/1.115, allocations: 84 kB / 1.215 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/1.116, allocations: 0.9197 MB / 1.215 GB, free: 292 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/1.116, allocations: 7.938 kB / 1.215 GB, free: 284 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-05/1.116, allocations: 35.94 kB / 1.215 GB, free: 248 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-05/1.116, allocations: 24 kB / 1.215 GB, free: 224 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008323/1.117, allocations: 0.5072 MB / 1.216 GB, free: 15.71 MB / 0.9825 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.004541/1.121, allocations: 4.868 MB / 1.221 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/1.122, allocations: 420.7 kB / 1.221 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/1.122, allocations: 268 kB / 1.221 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/1.123, allocations: 105 kB / 1.221 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/1.123, allocations: 54.5 kB / 1.222 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/1.123, allocations: 0 / 1.222 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.001746/1.124, allocations: 0.782 MB / 1.222 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001726/1.125, allocations: 397.5 kB / 1.223 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/1.126, allocations: 1.267 MB / 1.224 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.68e-05/1.126, allocations: 45.73 kB / 1.224 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/1.126, allocations: 0.5456 MB / 1.224 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.501e-05/1.127, allocations: 114.4 kB / 1.225 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/1.127, allocations: 85.59 kB / 1.225 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.127, allocations: 321.9 kB / 1.225 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/1.127, allocations: 87.94 kB / 1.225 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/1.127, allocations: 342.2 kB / 1.225 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/1.128, allocations: 328.6 kB / 1.226 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.128, allocations: 0 / 1.226 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008225/1.129, allocations: 0.4935 MB / 1.226 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.129, allocations: 4 kB / 1.226 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/1.129, allocations: 7.984 kB / 1.226 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002765/1.129, allocations: 69.7 kB / 1.226 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/1.129, allocations: 59.91 kB / 1.226 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/1.132, allocations: 3.258 MB / 1.23 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007492/1.132, allocations: 111.2 kB / 1.23 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.078e-05/1.132, allocations: 19.98 kB / 1.23 GB, free: 0.5859 MB / 0.9825 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.0003675/1.133, allocations: 281.6 kB / 1.23 GB, free: 308 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/1.133, allocations: 134.3 kB / 1.23 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/1.133, allocations: 132 kB / 1.23 GB, free: 36 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.133, allocations: 7.938 kB / 1.23 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/1.133, allocations: 8 kB / 1.23 GB, free: 20 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.445e-06/1.133, allocations: 7.984 kB / 1.23 GB, free: 12 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/1.136, allocations: 2.505 MB / 1.233 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/1.136, allocations: 11.94 kB / 1.233 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/1.137, allocations: 47.86 kB / 1.233 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001952/1.137, allocations: 73.95 kB / 1.233 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/1.137, allocations: 16.08 kB / 1.233 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/1.139, allocations: 3.262 MB / 1.236 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/1.139, allocations: 11.94 kB / 1.236 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/1.141, allocations: 0.6767 MB / 1.237 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004374/1.141, allocations: 247.4 kB / 1.237 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/1.141, allocations: 12 kB / 1.237 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007166/1.142, allocations: 63.86 kB / 1.237 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-05/1.142, allocations: 43.78 kB / 1.237 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/1.142, allocations: 20 kB / 1.237 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00114/1.143, allocations: 0.8763 MB / 1.238 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.21e-07/1.143, allocations: 0 / 1.238 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001275/1.145, allocations: 267.7 kB / 1.238 GB, free: 7.355 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 (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.0005997/1.145, allocations: 218.5 kB / 1.238 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009985/1.146, allocations: 0.532 MB / 1.239 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.146, allocations: 0 / 1.239 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005255/1.147, allocations: 406.2 kB / 1.239 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/1.15, allocations: 0.7409 MB / 1.24 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/1.153, allocations: 2.166 MB / 1.242 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/1.153, allocations: 1.127 MB / 1.243 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007668/1.154, allocations: 246.5 kB / 1.243 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/1.154, allocations: 79.44 kB / 1.243 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/1.154, allocations: 4 kB / 1.243 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of Templates: time 0.6195/1.774, allocations: 23.09 MB / 1.266 GB, free: 278.1 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches