Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008787/0.0008786, allocations: 98.88 kB / 16.02 MB, free: 76 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.000977/0.0009772, allocations: 182.3 kB / 16.92 MB, free: 6.914 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.525/1.525, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.86/2.86, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003845, allocations: 8.969 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3602, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.9497/1.31, allocations: 236.4 MB / 1.29 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01962/1.33, allocations: 13.42 MB / 1.303 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002574/1.332, allocations: 54.3 kB / 1.303 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002817/1.335, allocations: 0.8261 MB / 1.304 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005261/1.34, allocations: 1.691 MB / 1.306 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003324/1.344, allocations: 1.127 MB / 1.307 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006139/1.35, allocations: 4.598 MB / 1.311 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/1.352, allocations: 0.8875 MB / 1.312 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01046/1.362, allocations: 3.824 MB / 1.316 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002154/1.364, allocations: 0.9365 MB / 1.317 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003043/1.365, allocations: 46.53 kB / 1.317 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/1.367, allocations: 0.8979 MB / 1.318 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005642/1.368, allocations: 415.6 kB / 1.318 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00132/1.369, allocations: 0.6656 MB / 1.319 GB, free: 17.6 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/1.37, allocations: 1.062 MB / 1.32 GB, free: 17.48 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.37, allocations: 1.062 kB / 1.32 GB, free: 17.48 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.814e-06/1.37, allocations: 0 / 1.32 GB, free: 17.48 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.04e-05/1.37, allocations: 0 / 1.32 GB, free: 17.48 MB / 1.014 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.001989/1.372, allocations: 1.382 MB / 1.321 GB, free: 16.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.372, allocations: 13.19 kB / 1.321 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00062/1.373, allocations: 201.2 kB / 1.322 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/1.374, allocations: 0.8302 MB / 1.322 GB, free: 16.17 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/1.374, allocations: 124.6 kB / 1.322 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/1.374, allocations: 84.53 kB / 1.323 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/1.376, allocations: 0.9309 MB / 1.323 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/1.376, allocations: 7.891 kB / 1.323 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-05/1.376, allocations: 37.36 kB / 1.323 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/1.376, allocations: 20.62 kB / 1.323 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008474/1.377, allocations: 0.5208 MB / 1.324 GB, free: 15.81 MB / 1.014 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.004619/1.381, allocations: 4.884 MB / 1.329 GB, free: 12.36 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/1.382, allocations: 429.2 kB / 1.329 GB, free: 12.02 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003298/1.382, allocations: 269.3 kB / 1.329 GB, free: 11.91 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/1.382, allocations: 102.4 kB / 1.33 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/1.382, allocations: 58.44 kB / 1.33 GB, free: 11.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.535e-06/1.382, allocations: 0 / 1.33 GB, free: 11.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=31): time 0.001764/1.384, allocations: 0.8098 MB / 1.33 GB, free: 11.44 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001866/1.384, allocations: 396.6 kB / 1.331 GB, free: 10.97 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/1.386, allocations: 1.277 MB / 1.332 GB, free: 10.81 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/1.386, allocations: 32.89 kB / 1.332 GB, free: 10.78 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/1.386, allocations: 0.556 MB / 1.333 GB, free: 10.65 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.541e-05/1.386, allocations: 103.2 kB / 1.333 GB, free: 10.58 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/1.386, allocations: 34.69 kB / 1.333 GB, free: 10.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001145/1.386, allocations: 318.3 kB / 1.333 GB, free: 10.26 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/1.387, allocations: 103.1 kB / 1.333 GB, free: 10.26 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/1.387, allocations: 335.1 kB / 1.333 GB, free: 10.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/1.387, allocations: 343.3 kB / 1.334 GB, free: 9.879 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.387, allocations: 4 kB / 1.334 GB, free: 9.875 MB / 1.014 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007934/1.388, allocations: 0.5023 MB / 1.334 GB, free: 9.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/1.388, allocations: 6.375 kB / 1.334 GB, free: 9.75 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.388, allocations: 3.344 kB / 1.334 GB, free: 9.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000274/1.389, allocations: 72.89 kB / 1.334 GB, free: 9.734 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/1.389, allocations: 57.5 kB / 1.334 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/1.391, allocations: 2.932 MB / 1.337 GB, free: 7.055 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009068/1.392, allocations: 114.9 kB / 1.337 GB, free: 7.008 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/1.392, allocations: 20 kB / 1.337 GB, free: 7.008 MB / 1.014 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.0003866/1.393, allocations: 275.1 kB / 1.338 GB, free: 6.891 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004037/1.393, allocations: 133.1 kB / 1.338 GB, free: 6.824 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/1.393, allocations: 129.3 kB / 1.338 GB, free: 6.805 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/1.393, allocations: 11.97 kB / 1.338 GB, free: 6.801 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/1.393, allocations: 6.062 kB / 1.338 GB, free: 6.801 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/1.393, allocations: 9.859 kB / 1.338 GB, free: 6.797 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/1.397, allocations: 2.522 MB / 1.34 GB, free: 5.297 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.397, allocations: 6.031 kB / 1.34 GB, free: 5.297 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/1.397, allocations: 55.84 kB / 1.34 GB, free: 5.297 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001845/1.397, allocations: 70.77 kB / 1.34 GB, free: 5.281 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/1.397, allocations: 24.28 kB / 1.341 GB, free: 5.273 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/1.399, allocations: 2.922 MB / 1.343 GB, free: 2.598 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.399, allocations: 12.19 kB / 1.343 GB, free: 2.594 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009682/1.4, allocations: 0.6849 MB / 1.344 GB, free: 2.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005318/1.401, allocations: 250.7 kB / 1.344 GB, free: 2.012 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002991/1.401, allocations: 16.22 kB / 1.344 GB, free: 2.008 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008819/1.402, allocations: 75.8 kB / 1.344 GB, free: 1.992 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/1.402, allocations: 48.34 kB / 1.344 GB, free: 1.984 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.971e-05/1.402, allocations: 11.56 kB / 1.344 GB, free: 1.984 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001203/1.403, allocations: 0.8798 MB / 1.345 GB, free: 1.875 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.5e-07/1.403, allocations: 0 / 1.345 GB, free: 1.875 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001255/1.405, allocations: 269 kB / 1.346 GB, free: 1.863 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.000495/1.405, allocations: 209.5 kB / 1.346 GB, free: 1.75 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001038/1.406, allocations: 0.5213 MB / 1.346 GB, free: 1.523 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/1.406, allocations: 3.281 kB / 1.346 GB, free: 1.523 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005548/1.407, allocations: 411.6 kB / 1.347 GB, free: 1.293 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005213/1.412, allocations: 0.7856 MB / 1.347 GB, free: 1.227 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/1.415, allocations: 2.238 MB / 1.35 GB, free: 15.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007745/1.416, allocations: 1.135 MB / 1.351 GB, free: 15.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/1.416, allocations: 91.47 kB / 1.351 GB, free: 15.2 MB / 1.029 GB Notification: Performance of SimCode: time 8.12e-07/1.416, allocations: 0 / 1.351 GB, free: 15.2 MB / 1.029 GB Notification: Performance of Templates: time 0.03793/1.454, allocations: 27.5 MB / 1.378 GB, free: 3.512 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches