Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_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_latest_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.001184/0.001184, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00127/0.00127, allocations: 191.6 kB / 16.14 MB, free: 6.711 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.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 62.72 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.331, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1705/0.5015, allocations: 159.3 MB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003707/0.5053, allocations: 1.725 MB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004094/0.5057, allocations: 7.938 kB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006905/0.5064, allocations: 135.2 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.5082, allocations: 490 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.5098, allocations: 378.6 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001354/0.5112, allocations: 0.7604 MB / 1.226 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003698/0.5116, allocations: 152.5 kB / 1.227 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008915/0.5125, allocations: 298.7 kB / 1.227 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.5128, allocations: 159.3 kB / 1.227 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.5128, allocations: 8 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001605/0.5144, allocations: 0.7794 MB / 1.228 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.5146, allocations: 71.78 kB / 1.228 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.5147, allocations: 115.3 kB / 1.228 GB, free: 6 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007565/0.5155, allocations: 0.5103 MB / 1.229 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.5155, allocations: 0 / 1.229 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5155, allocations: 0 / 1.229 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.5155, allocations: 0 / 1.229 GB, free: 5.488 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009235/0.5165, allocations: 0.5855 MB / 1.229 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.5165, allocations: 12.03 kB / 1.229 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000367/0.5169, allocations: 51.69 kB / 1.229 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.5173, allocations: 289.3 kB / 1.229 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.5173, allocations: 15.94 kB / 1.229 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.5173, allocations: 12 kB / 1.229 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003882/0.5177, allocations: 192.7 kB / 1.23 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.5177, allocations: 0 / 1.23 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.5178, allocations: 8 kB / 1.23 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.5178, allocations: 4 kB / 1.23 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003062/0.5181, allocations: 127.8 kB / 1.23 GB, free: 4.098 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.001024/0.5191, allocations: 0.7925 MB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.5194, allocations: 82.47 kB / 1.231 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.5196, allocations: 72.88 kB / 1.231 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003635/0.5199, allocations: 194.2 kB / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.52, allocations: 30.56 kB / 1.231 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.52, allocations: 0 / 1.231 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0007001/0.5207, allocations: 233.1 kB / 1.231 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.5207, allocations: 51.41 kB / 1.231 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002701/0.521, allocations: 267 kB / 1.231 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.521, allocations: 25.7 kB / 1.231 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.51e-05/0.5211, allocations: 147.9 kB / 1.232 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.285e-05/0.5212, allocations: 39.45 kB / 1.232 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.5213, allocations: 29.7 kB / 1.232 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5214, allocations: 338.8 kB / 1.232 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.5215, allocations: 52.77 kB / 1.232 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.5217, allocations: 85.11 kB / 1.232 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.522, allocations: 127.3 kB / 1.232 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.522, allocations: 0 / 1.232 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003534/0.5224, allocations: 165.4 kB / 1.232 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.5224, allocations: 4 kB / 1.232 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5224, allocations: 4 kB / 1.232 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.5224, allocations: 7.938 kB / 1.232 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.5226, allocations: 27.95 kB / 1.232 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5226, allocations: 0 / 1.232 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.5228, allocations: 19.92 kB / 1.232 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/0.5228, allocations: 11.98 kB / 1.232 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001905/0.523, allocations: 140.1 kB / 1.233 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001617/0.5232, allocations: 97.11 kB / 1.233 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000238/0.5234, allocations: 115.3 kB / 1.233 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-06/0.5234, allocations: 0.75 kB / 1.233 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.000325/0.5238, allocations: 161.2 kB / 1.233 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.314e-06/0.5238, allocations: 4 kB / 1.233 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.5238, allocations: 4 kB / 1.233 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.586e-06/0.5238, allocations: 3.984 kB / 1.233 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.5239, allocations: 23.92 kB / 1.233 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-06/0.5239, allocations: 4 kB / 1.233 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.5241, allocations: 15.89 kB / 1.233 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.5241, allocations: 15.97 kB / 1.233 GB, free: 0.4922 MB / 0.9825 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.0001058/0.5242, allocations: 184.2 kB / 1.233 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.5243, allocations: 19.81 kB / 1.233 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003827/0.5247, allocations: 167.1 kB / 1.233 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5247, allocations: 0 / 1.233 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5247, allocations: 4 kB / 1.233 GB, free: 112 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5247, allocations: 3.984 kB / 1.233 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008708/0.5256, allocations: 0.5863 MB / 1.234 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5256, allocations: 4.031 kB / 1.234 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.5257, allocations: 20.03 kB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.5258, allocations: 7.984 kB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.5258, allocations: 4 kB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5258, allocations: 7.875 kB / 1.234 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.5258, allocations: 4 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.5262, allocations: 301.1 kB / 1.234 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/0.5263, allocations: 108.8 kB / 1.234 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.5263, allocations: 4 kB / 1.234 GB, free: 14.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.5265, allocations: 23.97 kB / 1.234 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.5266, allocations: 11.94 kB / 1.234 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.5266, allocations: 11.98 kB / 1.234 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001716/0.5268, allocations: 194 kB / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5268, allocations: 0 / 1.235 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004689/0.5272, allocations: 103.8 kB / 1.235 GB, free: 14.6 MB / 0.9981 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.0003904/0.5276, allocations: 164.1 kB / 1.235 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004688/0.5281, allocations: 163.8 kB / 1.235 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5281, allocations: 0 / 1.235 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.5283, allocations: 72.08 kB / 1.235 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008892/0.5292, allocations: 124.8 kB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007151/0.5299, allocations: 498.9 kB / 1.236 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.5302, allocations: 0.7521 MB / 1.236 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002286/0.5305, allocations: 78.16 kB / 1.237 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.5305, allocations: 19.44 kB / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.5305, allocations: 0 / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of Templates: time 0.00857/0.5391, allocations: 4.275 MB / 1.241 GB, free: 8.469 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches