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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008796/0.0008796, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 173 kB / 16.92 MB, free: 6.652 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.439/1.439, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.635/2.635, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003978, allocations: 11.98 kB / 0.8166 GB, free: 13.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7748/0.7752, allocations: 142.4 MB / 0.9557 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.243/1.018, allocations: 236.5 MB / 1.187 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01734/1.036, allocations: 13.43 MB / 1.2 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002185/1.038, allocations: 51.62 kB / 1.2 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.00267/1.041, allocations: 0.8236 MB / 1.201 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005211/1.046, allocations: 1.691 MB / 1.202 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003132/1.049, allocations: 1.124 MB / 1.203 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005795/1.055, allocations: 4.596 MB / 1.208 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/1.056, allocations: 0.8828 MB / 1.209 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009678/1.066, allocations: 3.83 MB / 1.212 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/1.068, allocations: 0.9293 MB / 1.213 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001938/1.068, allocations: 55.98 kB / 1.213 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001771/1.07, allocations: 0.8922 MB / 1.214 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000422/1.07, allocations: 406.6 kB / 1.215 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008168/1.071, allocations: 0.6738 MB / 1.215 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/1.072, allocations: 1.068 MB / 1.216 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/1.072, allocations: 4 kB / 1.216 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/1.072, allocations: 0 / 1.216 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.678e-05/1.072, allocations: 3.938 kB / 1.216 GB, free: 3.59 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.001953/1.074, allocations: 1.377 MB / 1.218 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.074, allocations: 12.03 kB / 1.218 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006319/1.075, allocations: 194.2 kB / 1.218 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/1.076, allocations: 0.8386 MB / 1.219 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/1.076, allocations: 121.4 kB / 1.219 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/1.076, allocations: 88 kB / 1.219 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/1.078, allocations: 0.9276 MB / 1.22 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/1.078, allocations: 11.88 kB / 1.22 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.655e-05/1.078, allocations: 32 kB / 1.22 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/1.078, allocations: 20 kB / 1.22 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000873/1.079, allocations: 0.5228 MB / 1.22 GB, free: 15.25 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.004524/1.083, allocations: 4.888 MB / 1.225 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/1.084, allocations: 420.7 kB / 1.226 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/1.084, allocations: 272 kB / 1.226 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/1.084, allocations: 105.1 kB / 1.226 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/1.084, allocations: 58.42 kB / 1.226 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 2.384e-06/1.085, allocations: 0 / 1.226 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.001812/1.086, allocations: 0.8013 MB / 1.227 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/1.087, allocations: 405.6 kB / 1.227 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/1.088, allocations: 1.267 MB / 1.228 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/1.088, allocations: 41.7 kB / 1.228 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/1.089, allocations: 0.5494 MB / 1.229 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.42e-05/1.089, allocations: 110.5 kB / 1.229 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.152e-05/1.089, allocations: 29.7 kB / 1.229 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/1.089, allocations: 321.9 kB / 1.229 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/1.089, allocations: 103.9 kB / 1.229 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/1.089, allocations: 338.5 kB / 1.23 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/1.09, allocations: 340.5 kB / 1.23 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.09, allocations: 0 / 1.23 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008382/1.091, allocations: 0.4976 MB / 1.231 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.091, allocations: 4 kB / 1.231 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.091, allocations: 4 kB / 1.231 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003098/1.091, allocations: 81.64 kB / 1.231 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/1.091, allocations: 59.91 kB / 1.231 GB, free: 3.758 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/1.094, allocations: 2.927 MB / 1.234 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008043/1.094, allocations: 111.2 kB / 1.234 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.244e-05/1.094, allocations: 19.98 kB / 1.234 GB, free: 448 kB / 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.0003911/1.095, allocations: 281.8 kB / 1.234 GB, free: 156 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003724/1.095, allocations: 134.3 kB / 1.234 GB, free: 20 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/1.095, allocations: 131.9 kB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/1.095, allocations: 8 kB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/1.095, allocations: 8 kB / 1.234 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.095, allocations: 7.984 kB / 1.234 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/1.098, allocations: 2.524 MB / 1.237 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.098, allocations: 4 kB / 1.237 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/1.099, allocations: 55.86 kB / 1.237 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/1.099, allocations: 74.02 kB / 1.237 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/1.099, allocations: 16 kB / 1.237 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/1.101, allocations: 2.939 MB / 1.24 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/1.101, allocations: 4 kB / 1.24 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008799/1.102, allocations: 0.6806 MB / 1.24 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/1.102, allocations: 251.3 kB / 1.241 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/1.102, allocations: 12 kB / 1.241 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007319/1.103, allocations: 71.78 kB / 1.241 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/1.103, allocations: 44.03 kB / 1.241 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/1.103, allocations: 15.98 kB / 1.241 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001079/1.104, allocations: 0.8802 MB / 1.242 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.104, allocations: 0 / 1.242 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001086/1.105, allocations: 271.8 kB / 1.242 GB, free: 7.504 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.0004402/1.106, allocations: 211.2 kB / 1.242 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000965/1.107, allocations: 0.5247 MB / 1.243 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.107, allocations: 0 / 1.243 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005462/1.107, allocations: 418.6 kB / 1.243 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004843/1.112, allocations: 0.7835 MB / 1.244 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/1.115, allocations: 2.234 MB / 1.246 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/1.116, allocations: 1.139 MB / 1.247 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/1.116, allocations: 91.42 kB / 1.247 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/1.116, allocations: 0 / 1.247 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of Templates: time 0.5566/1.673, allocations: 27.47 MB / 1.274 GB, free: 273.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches