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.001509/0.001509, allocations: 108 kB / 15.61 MB, free: 152 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.002023/0.002023, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.455/1.455, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.748/2.748, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 75.88 kB / 0.8125 GB, free: 14.49 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7596/0.7609, allocations: 140.4 MB / 0.9496 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.2878/1.049, allocations: 241.9 MB / 1.186 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02154/1.07, allocations: 13.53 MB / 1.199 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002597/1.073, allocations: 59.56 kB / 1.199 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003174/1.076, allocations: 0.9783 MB / 1.2 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005542/1.082, allocations: 1.784 MB / 1.202 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003412/1.085, allocations: 1.22 MB / 1.203 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005126/1.09, allocations: 3.258 MB / 1.206 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/1.092, allocations: 1.059 MB / 1.207 GB, free: 9.164 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0116/1.104, allocations: 4.106 MB / 1.211 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001919/1.106, allocations: 0.8982 MB / 1.212 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002136/1.106, allocations: 80 kB / 1.212 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001973/1.108, allocations: 0.6975 MB / 1.213 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004802/1.109, allocations: 442.5 kB / 1.213 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008979/1.109, allocations: 0.6839 MB / 1.214 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002704/1.112, allocations: 1.487 MB / 1.215 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/1.112, allocations: 0 / 1.215 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.427e-06/1.112, allocations: 0 / 1.215 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.539e-05/1.112, allocations: 0 / 1.215 GB, free: 0.75 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.002775/1.115, allocations: 1.619 MB / 1.217 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/1.115, allocations: 16.02 kB / 1.217 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007873/1.116, allocations: 202.1 kB / 1.217 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/1.117, allocations: 0.8386 MB / 1.218 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001537/1.117, allocations: 117.4 kB / 1.218 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/1.117, allocations: 88 kB / 1.218 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/1.119, allocations: 0.9181 MB / 1.219 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/1.119, allocations: 0 / 1.219 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.426e-05/1.119, allocations: 40 kB / 1.219 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/1.119, allocations: 23.94 kB / 1.219 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008594/1.12, allocations: 0.5033 MB / 1.22 GB, free: 12.18 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.0055/1.126, allocations: 4.892 MB / 1.224 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/1.126, allocations: 412.6 kB / 1.225 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004011/1.127, allocations: 267.9 kB / 1.225 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002204/1.127, allocations: 101.2 kB / 1.225 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.522e-05/1.127, allocations: 58.48 kB / 1.225 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=31): time 2.374e-06/1.127, allocations: 0 / 1.225 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=31): time 0.001909/1.129, allocations: 0.7819 MB / 1.226 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003358/1.129, allocations: 405.9 kB / 1.226 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/1.131, allocations: 1.275 MB / 1.228 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.325e-05/1.131, allocations: 33.7 kB / 1.228 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/1.131, allocations: 0.5534 MB / 1.228 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.122e-05/1.131, allocations: 106.4 kB / 1.228 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/1.131, allocations: 85.59 kB / 1.228 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.132, allocations: 321.9 kB / 1.229 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/1.132, allocations: 95.92 kB / 1.229 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005117/1.132, allocations: 334.2 kB / 1.229 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/1.133, allocations: 328.5 kB / 1.229 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.133, allocations: 4 kB / 1.229 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008412/1.134, allocations: 497.3 kB / 1.23 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.134, allocations: 8 kB / 1.23 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/1.134, allocations: 4 kB / 1.23 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002953/1.134, allocations: 73.89 kB / 1.23 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002134/1.134, allocations: 55.91 kB / 1.23 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003629/1.138, allocations: 3.254 MB / 1.233 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009213/1.139, allocations: 103.1 kB / 1.233 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/1.139, allocations: 20 kB / 1.233 GB, free: 13.05 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.0005002/1.139, allocations: 274.8 kB / 1.234 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004222/1.14, allocations: 134.3 kB / 1.234 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/1.14, allocations: 131.9 kB / 1.234 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/1.14, allocations: 11.94 kB / 1.234 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.772e-05/1.14, allocations: 8 kB / 1.234 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.14, allocations: 7.938 kB / 1.234 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003415/1.144, allocations: 2.52 MB / 1.236 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/1.144, allocations: 4 kB / 1.236 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/1.144, allocations: 47.91 kB / 1.236 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001754/1.144, allocations: 69.67 kB / 1.236 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/1.144, allocations: 15.94 kB / 1.236 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/1.146, allocations: 3.269 MB / 1.24 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/1.146, allocations: 4 kB / 1.24 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008925/1.147, allocations: 0.6729 MB / 1.24 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003795/1.148, allocations: 251.5 kB / 1.241 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/1.148, allocations: 15.98 kB / 1.241 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006278/1.148, allocations: 39.95 kB / 1.241 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.621e-05/1.149, allocations: 43.83 kB / 1.241 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.021e-05/1.149, allocations: 19.98 kB / 1.241 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00113/1.15, allocations: 0.8802 MB / 1.241 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.15, allocations: 0 / 1.241 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009998/1.151, allocations: 259.7 kB / 1.242 GB, free: 3.84 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.0005176/1.151, allocations: 199.5 kB / 1.242 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000944/1.152, allocations: 0.5247 MB / 1.242 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.152, allocations: 0 / 1.242 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005114/1.153, allocations: 402.8 kB / 1.243 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/1.156, allocations: 0.759 MB / 1.244 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4828/1.639, allocations: 1.843 MB / 1.245 GB, free: 287.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009075/1.64, allocations: 1.134 MB / 1.246 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009989/1.641, allocations: 242.3 kB / 1.247 GB, free: 286.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/1.641, allocations: 80.11 kB / 1.247 GB, free: 286.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.641, allocations: 3.938 kB / 1.247 GB, free: 286.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.0474/1.689, allocations: 23.27 MB / 1.27 GB, free: 277 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