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.001806/0.001807, allocations: 106 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.001922/0.001922, allocations: 189.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.427/1.427, 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 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437.1 MB / 0.7111 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 68.02 kB / 0.8699 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3339, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.8157/1.15, allocations: 241.9 MB / 1.254 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02087/1.17, allocations: 13.53 MB / 1.267 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002568/1.173, allocations: 63.56 kB / 1.267 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003025/1.176, allocations: 0.9821 MB / 1.268 GB, free: 8.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00542/1.182, allocations: 1.776 MB / 1.27 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003562/1.185, allocations: 1.232 MB / 1.271 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005437/1.191, allocations: 3.258 MB / 1.275 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/1.193, allocations: 1.039 MB / 1.276 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01028/1.203, allocations: 4.121 MB / 1.28 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001691/1.205, allocations: 0.8982 MB / 1.28 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002419/1.205, allocations: 80 kB / 1.281 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/1.206, allocations: 0.6936 MB / 1.281 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004637/1.207, allocations: 446.6 kB / 1.282 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008953/1.208, allocations: 0.6839 MB / 1.282 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002028/1.21, allocations: 1.495 MB / 1.284 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.21, allocations: 0 / 1.284 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.727e-06/1.21, allocations: 0 / 1.284 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.521e-05/1.21, allocations: 7.938 kB / 1.284 GB, free: 8.996 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.002349/1.212, allocations: 1.612 MB / 1.285 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/1.212, allocations: 8.922 kB / 1.285 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006767/1.213, allocations: 202.1 kB / 1.286 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/1.214, allocations: 0.8308 MB / 1.286 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/1.214, allocations: 125.4 kB / 1.286 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/1.215, allocations: 88 kB / 1.287 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/1.216, allocations: 0.9197 MB / 1.287 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/1.216, allocations: 3.938 kB / 1.287 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.38e-05/1.216, allocations: 36 kB / 1.288 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/1.216, allocations: 20 kB / 1.288 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009797/1.217, allocations: 0.511 MB / 1.288 GB, free: 4.434 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.006304/1.224, allocations: 4.888 MB / 1.293 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/1.224, allocations: 420.7 kB / 1.293 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003958/1.225, allocations: 259.8 kB / 1.293 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001946/1.225, allocations: 105.1 kB / 1.294 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.536e-05/1.225, allocations: 54.44 kB / 1.294 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.806e-06/1.225, allocations: 0 / 1.294 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001962/1.227, allocations: 0.782 MB / 1.294 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002373/1.227, allocations: 397.5 kB / 1.295 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/1.229, allocations: 1.271 MB / 1.296 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.641e-05/1.229, allocations: 37.7 kB / 1.296 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005336/1.23, allocations: 0.5574 MB / 1.297 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/1.23, allocations: 110.4 kB / 1.297 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/1.23, allocations: 81.59 kB / 1.297 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.23, allocations: 321.9 kB / 1.297 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/1.23, allocations: 91.94 kB / 1.297 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004784/1.231, allocations: 339.8 kB / 1.297 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005377/1.231, allocations: 324.6 kB / 1.298 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/1.231, allocations: 4 kB / 1.298 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009924/1.232, allocations: 493.5 kB / 1.298 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/1.232, allocations: 18.89 kB / 1.298 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/1.232, allocations: 4 kB / 1.298 GB, free: 9.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/1.233, allocations: 69.77 kB / 1.298 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/1.233, allocations: 63.88 kB / 1.298 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/1.236, allocations: 3.264 MB / 1.302 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008447/1.237, allocations: 91.16 kB / 1.302 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/1.237, allocations: 23.94 kB / 1.302 GB, free: 5.312 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 (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.0004822/1.237, allocations: 276.4 kB / 1.302 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004197/1.238, allocations: 142.3 kB / 1.302 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/1.238, allocations: 124 kB / 1.302 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/1.238, allocations: 12.12 kB / 1.302 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/1.238, allocations: 4 kB / 1.302 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/1.238, allocations: 11.97 kB / 1.302 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003344/1.241, allocations: 2.516 MB / 1.305 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.241, allocations: 4 kB / 1.305 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/1.241, allocations: 48.61 kB / 1.305 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002082/1.242, allocations: 81.59 kB / 1.305 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/1.242, allocations: 8 kB / 1.305 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002753/1.244, allocations: 3.262 MB / 1.308 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/1.244, allocations: 7.938 kB / 1.308 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/1.246, allocations: 0.678 MB / 1.309 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004111/1.246, allocations: 247.4 kB / 1.309 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/1.246, allocations: 12 kB / 1.309 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006521/1.247, allocations: 47.94 kB / 1.309 GB, free: 13.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/1.247, allocations: 35.84 kB / 1.309 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/1.247, allocations: 20 kB / 1.309 GB, free: 13.25 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001252/1.248, allocations: 0.8763 MB / 1.31 GB, free: 12.37 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.248, allocations: 0 / 1.31 GB, free: 12.37 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001012/1.249, allocations: 259.7 kB / 1.31 GB, free: 12.12 MB / 1.014 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.0005062/1.25, allocations: 211.7 kB / 1.31 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009764/1.251, allocations: 0.5243 MB / 1.311 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.251, allocations: 0.6875 kB / 1.311 GB, free: 11.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005587/1.251, allocations: 409.2 kB / 1.311 GB, free: 10.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003427/1.255, allocations: 0.7588 MB / 1.312 GB, free: 10.19 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/1.258, allocations: 1.899 MB / 1.314 GB, free: 8.188 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007988/1.258, allocations: 1.138 MB / 1.315 GB, free: 7.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/1.259, allocations: 75.44 kB / 1.315 GB, free: 6.945 MB / 1.014 GB Notification: Performance of SimCode: time 7.32e-07/1.259, allocations: 0 / 1.315 GB, free: 6.945 MB / 1.014 GB Notification: Performance of Templates: time 0.04052/1.299, allocations: 27.56 MB / 1.342 GB, free: 11.55 MB / 1.045 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=400 -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