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.001157/0.001157, allocations: 100.4 kB / 16.41 MB, free: 5.977 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.001181/0.001181, allocations: 192.8 kB / 17.34 MB, free: 5.586 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.213/2.213, allocations: 390.2 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 64.11 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8644/0.8657, allocations: 140.4 MB / 1.089 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2821/1.148, allocations: 241.9 MB / 1.325 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01974/1.168, allocations: 13.54 MB / 1.338 GB, free: 14.14 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002974/1.171, allocations: 59.62 kB / 1.338 GB, free: 14.08 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003223/1.174, allocations: 1.009 MB / 1.339 GB, free: 13.06 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005364/1.179, allocations: 1.854 MB / 1.341 GB, free: 11.2 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003385/1.183, allocations: 1.24 MB / 1.342 GB, free: 9.973 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004663/1.187, allocations: 3.272 MB / 1.345 GB, free: 6.688 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/1.189, allocations: 1.059 MB / 1.346 GB, free: 5.609 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009621/1.199, allocations: 4.262 MB / 1.351 GB, free: 1.332 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/1.201, allocations: 0.8943 MB / 1.351 GB, free: 444 kB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003358/1.201, allocations: 83.94 kB / 1.351 GB, free: 360 kB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/1.203, allocations: 0.6975 MB / 1.352 GB, free: 15.65 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005412/1.203, allocations: 438.6 kB / 1.353 GB, free: 15.22 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001187/1.204, allocations: 0.6917 MB / 1.353 GB, free: 14.53 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002524/1.207, allocations: 1.514 MB / 1.355 GB, free: 13.01 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.207, allocations: 0 / 1.355 GB, free: 13.01 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.713e-06/1.207, allocations: 0 / 1.355 GB, free: 13.01 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.709e-05/1.207, allocations: 0 / 1.355 GB, free: 13.01 MB / 1.092 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.002799/1.21, allocations: 1.619 MB / 1.356 GB, free: 11.33 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/1.21, allocations: 12.03 kB / 1.356 GB, free: 11.32 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007744/1.211, allocations: 198.2 kB / 1.357 GB, free: 11.12 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/1.212, allocations: 0.9049 MB / 1.357 GB, free: 10.16 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/1.213, allocations: 129.3 kB / 1.358 GB, free: 10.03 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/1.213, allocations: 84 kB / 1.358 GB, free: 9.945 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/1.214, allocations: 0.9143 MB / 1.359 GB, free: 8.941 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/1.214, allocations: 3.938 kB / 1.359 GB, free: 8.938 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-05/1.214, allocations: 32 kB / 1.359 GB, free: 8.906 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/1.214, allocations: 23.98 kB / 1.359 GB, free: 8.883 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000905/1.215, allocations: 0.5071 MB / 1.359 GB, free: 8.371 MB / 1.092 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.00468/1.22, allocations: 4.861 MB / 1.364 GB, free: 3.203 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005957/1.22, allocations: 416.7 kB / 1.364 GB, free: 2.668 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000365/1.221, allocations: 259.9 kB / 1.364 GB, free: 2.371 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/1.221, allocations: 109 kB / 1.365 GB, free: 2.246 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/1.221, allocations: 54.48 kB / 1.365 GB, free: 2.184 MB / 1.092 GB Notification: Performance of pre-optimization done (n=31): time 2.214e-06/1.221, allocations: 0 / 1.365 GB, free: 2.184 MB / 1.092 GB Notification: Performance of matching and sorting (n=31): time 0.001905/1.223, allocations: 0.7779 MB / 1.365 GB, free: 1.355 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/1.223, allocations: 401.5 kB / 1.366 GB, free: 0.8711 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/1.225, allocations: 1.275 MB / 1.367 GB, free: 15.59 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.66e-05/1.225, allocations: 33.7 kB / 1.367 GB, free: 15.55 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000411/1.225, allocations: 0.5495 MB / 1.368 GB, free: 14.99 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.044e-05/1.225, allocations: 102.6 kB / 1.368 GB, free: 14.89 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/1.226, allocations: 85.59 kB / 1.368 GB, free: 14.8 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.226, allocations: 325.9 kB / 1.368 GB, free: 14.48 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/1.226, allocations: 95.92 kB / 1.368 GB, free: 14.38 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/1.226, allocations: 330.2 kB / 1.368 GB, free: 13.96 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/1.227, allocations: 332.5 kB / 1.369 GB, free: 13.59 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.227, allocations: 4 kB / 1.369 GB, free: 13.59 MB / 1.107 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000891/1.228, allocations: 0.4897 MB / 1.369 GB, free: 13.09 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/1.228, allocations: 10.03 kB / 1.369 GB, free: 13.08 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.228, allocations: 4 kB / 1.369 GB, free: 13.07 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002806/1.228, allocations: 69.7 kB / 1.369 GB, free: 13 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/1.228, allocations: 59.91 kB / 1.369 GB, free: 12.94 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/1.231, allocations: 3.262 MB / 1.373 GB, free: 9.402 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000727/1.231, allocations: 91.16 kB / 1.373 GB, free: 9.312 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/1.231, allocations: 23.98 kB / 1.373 GB, free: 9.289 MB / 1.107 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.0003619/1.232, allocations: 269.8 kB / 1.373 GB, free: 9.016 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/1.232, allocations: 146.3 kB / 1.373 GB, free: 8.871 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/1.232, allocations: 123.9 kB / 1.373 GB, free: 8.746 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/1.232, allocations: 8 kB / 1.373 GB, free: 8.738 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.232, allocations: 7.938 kB / 1.373 GB, free: 8.73 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.232, allocations: 4 kB / 1.373 GB, free: 8.727 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/1.235, allocations: 2.52 MB / 1.376 GB, free: 6.062 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/1.235, allocations: 4 kB / 1.376 GB, free: 6.059 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/1.236, allocations: 51.91 kB / 1.376 GB, free: 6.008 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001773/1.236, allocations: 78.39 kB / 1.376 GB, free: 5.926 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/1.236, allocations: 16 kB / 1.376 GB, free: 5.91 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/1.238, allocations: 3.258 MB / 1.379 GB, free: 2.371 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.882e-06/1.238, allocations: 7.938 kB / 1.379 GB, free: 2.363 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000851/1.239, allocations: 0.6806 MB / 1.38 GB, free: 1.59 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003937/1.239, allocations: 247.4 kB / 1.38 GB, free: 1.328 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/1.239, allocations: 12 kB / 1.38 GB, free: 1.316 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/1.24, allocations: 39.95 kB / 1.38 GB, free: 1.277 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.794e-05/1.24, allocations: 43.83 kB / 1.38 GB, free: 1.234 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/1.24, allocations: 27.94 kB / 1.38 GB, free: 1.207 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001152/1.241, allocations: 0.8724 MB / 1.381 GB, free: 344 kB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.241, allocations: 0 / 1.381 GB, free: 344 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009727/1.242, allocations: 263.7 kB / 1.381 GB, free: 80 kB / 1.107 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.0004915/1.243, allocations: 209.8 kB / 1.381 GB, free: 15.88 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009275/1.244, allocations: 0.5245 MB / 1.382 GB, free: 15.32 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.244, allocations: 0 / 1.382 GB, free: 15.32 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005331/1.244, allocations: 402.9 kB / 1.382 GB, free: 14.91 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/1.248, allocations: 0.7485 MB / 1.383 GB, free: 14.16 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/1.25, allocations: 1.865 MB / 1.385 GB, free: 12.2 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006984/1.251, allocations: 1.127 MB / 1.386 GB, free: 11.04 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/1.251, allocations: 87.38 kB / 1.386 GB, free: 10.95 MB / 1.123 GB Notification: Performance of SimCode: time 2.51e-07/1.251, allocations: 0 / 1.386 GB, free: 10.95 MB / 1.123 GB Notification: Performance of Templates: time 0.03563/1.287, allocations: 27.67 MB / 1.413 GB, free: 15.46 MB / 1.154 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