Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001642/0.001642, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.566/1.566, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.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.713/2.713, allocations: 437 MB / 0.71 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 71.88 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7171/0.7185, allocations: 151.6 MB / 1.017 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.201/0.9196, allocations: 159.3 MB / 1.172 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003463/0.9231, allocations: 1.71 MB / 1.174 GB, free: 1.273 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006506/0.9237, allocations: 7.938 kB / 1.174 GB, free: 1.266 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007524/0.9246, allocations: 139.2 kB / 1.174 GB, free: 1.129 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.9263, allocations: 486.1 kB / 1.175 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/0.9276, allocations: 390.3 kB / 1.175 GB, free: 284 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008855/0.9285, allocations: 0.5732 MB / 1.176 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003091/0.9288, allocations: 160.5 kB / 1.176 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006727/0.9295, allocations: 322.8 kB / 1.176 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.9298, allocations: 163.3 kB / 1.176 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.9298, allocations: 12 kB / 1.176 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.931, allocations: 0.7131 MB / 1.177 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.9312, allocations: 79.72 kB / 1.177 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.9313, allocations: 115.4 kB / 1.177 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008083/0.9321, allocations: 0.518 MB / 1.178 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.9321, allocations: 8 kB / 1.178 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9321, allocations: 0 / 1.178 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.9322, allocations: 0 / 1.178 GB, free: 13.62 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009008/0.9331, allocations: 0.5838 MB / 1.178 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.9331, allocations: 8.031 kB / 1.178 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003789/0.9335, allocations: 55.67 kB / 1.178 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.9339, allocations: 285.3 kB / 1.178 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.9339, allocations: 12 kB / 1.178 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.934, allocations: 20 kB / 1.179 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.9344, allocations: 196 kB / 1.179 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.9344, allocations: 0 / 1.179 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.9344, allocations: 8 kB / 1.179 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.9344, allocations: 0 / 1.179 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.9348, allocations: 127.9 kB / 1.179 GB, free: 12.24 MB / 0.9356 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.001042/0.9358, allocations: 0.7963 MB / 1.18 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.9361, allocations: 86.47 kB / 1.18 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.9362, allocations: 72.88 kB / 1.18 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003792/0.9366, allocations: 194.2 kB / 1.18 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.9367, allocations: 30.56 kB / 1.18 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.9367, allocations: 0 / 1.18 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006989/0.9374, allocations: 221.5 kB / 1.18 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.9374, allocations: 59.41 kB / 1.18 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.9377, allocations: 267 kB / 1.181 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.9377, allocations: 29.7 kB / 1.181 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.9378, allocations: 147.9 kB / 1.181 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.334e-05/0.9379, allocations: 27.56 kB / 1.181 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.9379, allocations: 33.61 kB / 1.181 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.9381, allocations: 334.8 kB / 1.181 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.9382, allocations: 48.83 kB / 1.181 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.9384, allocations: 93.05 kB / 1.181 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.9386, allocations: 123.3 kB / 1.181 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.9387, allocations: 0 / 1.181 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003313/0.939, allocations: 153.4 kB / 1.181 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.939, allocations: 8 kB / 1.181 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.939, allocations: 0 / 1.181 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.9391, allocations: 3.938 kB / 1.181 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.9392, allocations: 23.92 kB / 1.181 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.9392, allocations: 7.969 kB / 1.181 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.9394, allocations: 27.83 kB / 1.182 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.794e-05/0.9394, allocations: 11.98 kB / 1.182 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001883/0.9396, allocations: 144.1 kB / 1.182 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001455/0.9398, allocations: 89.11 kB / 1.182 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002278/0.94, allocations: 123.4 kB / 1.182 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-06/0.94, allocations: 0 / 1.182 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003062/0.9403, allocations: 153.3 kB / 1.182 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.9404, allocations: 9.281 kB / 1.182 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.9404, allocations: 3.984 kB / 1.182 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/0.9404, allocations: 4 kB / 1.182 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.9405, allocations: 27.86 kB / 1.182 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-06/0.9405, allocations: 0 / 1.182 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.9407, allocations: 20.45 kB / 1.182 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.9407, allocations: 4 kB / 1.182 GB, free: 8.652 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.9408, allocations: 188.3 kB / 1.182 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.9409, allocations: 23.72 kB / 1.182 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/0.9412, allocations: 167.2 kB / 1.182 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.9413, allocations: 0 / 1.182 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.9413, allocations: 0 / 1.182 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.9413, allocations: 3.984 kB / 1.182 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000878/0.9422, allocations: 0.5897 MB / 1.183 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.9422, allocations: 4 kB / 1.183 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.9423, allocations: 28.33 kB / 1.183 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.9423, allocations: 8 kB / 1.183 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.9423, allocations: 4 kB / 1.183 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.9423, allocations: 0 / 1.183 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.9423, allocations: 7.938 kB / 1.183 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.9427, allocations: 289.2 kB / 1.183 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.9429, allocations: 112.8 kB / 1.183 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.9429, allocations: 8 kB / 1.183 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.9431, allocations: 24.06 kB / 1.183 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.9432, allocations: 15.94 kB / 1.183 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.9432, allocations: 7.984 kB / 1.184 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000189/0.9434, allocations: 201.9 kB / 1.184 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9434, allocations: 0 / 1.184 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004785/0.9439, allocations: 91.84 kB / 1.184 GB, free: 6.754 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004768/0.9444, allocations: 176.1 kB / 1.184 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000503/0.9449, allocations: 167.7 kB / 1.184 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.9449, allocations: 0 / 1.184 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.945, allocations: 64.39 kB / 1.184 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007407/0.9458, allocations: 111.8 kB / 1.184 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/0.9466, allocations: 0.4932 MB / 1.185 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.9469, allocations: 0.7558 MB / 1.186 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.9472, allocations: 69.86 kB / 1.186 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.655e-05/0.9472, allocations: 19.44 kB / 1.186 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.9472, allocations: 4 kB / 1.186 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of Templates: time 0.008638/0.9559, allocations: 4.311 MB / 1.19 GB, free: 0.5938 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches