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 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.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.0019/0.0019, allocations: 103.3 kB / 16.35 MB, free: 5.828 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.002142/0.002142, allocations: 194.2 kB / 17.3 MB, free: 5.484 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.471/1.471, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.52/2.52, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 59.97 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3109, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.7704/1.081, allocations: 161.5 MB / 1.184 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003544/1.085, allocations: 1.714 MB / 1.186 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004867/1.085, allocations: 9.438 kB / 1.186 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006761/1.086, allocations: 156.8 kB / 1.186 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/1.088, allocations: 0.5092 MB / 1.187 GB, free: 324 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00142/1.089, allocations: 427.6 kB / 1.187 GB, free: 24 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001047/1.09, allocations: 0.5651 MB / 1.188 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003706/1.091, allocations: 178.9 kB / 1.188 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007017/1.091, allocations: 324.7 kB / 1.188 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/1.092, allocations: 153.4 kB / 1.188 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/1.092, allocations: 17.16 kB / 1.188 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00132/1.093, allocations: 0.6955 MB / 1.189 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/1.093, allocations: 78.59 kB / 1.189 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/1.093, allocations: 119 kB / 1.189 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0008523/1.094, allocations: 0.4934 MB / 1.19 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.094, allocations: 0 / 1.19 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.044e-06/1.094, allocations: 0 / 1.19 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.405e-05/1.094, allocations: 1.438 kB / 1.19 GB, free: 14.48 MB / 0.9044 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.0009831/1.095, allocations: 0.5817 MB / 1.19 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.095, allocations: 9.219 kB / 1.19 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003977/1.096, allocations: 56.86 kB / 1.19 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/1.096, allocations: 302 kB / 1.191 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/1.096, allocations: 9.719 kB / 1.191 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/1.096, allocations: 14.88 kB / 1.191 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003963/1.097, allocations: 193.4 kB / 1.191 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/1.097, allocations: 0 / 1.191 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/1.097, allocations: 9.406 kB / 1.191 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/1.097, allocations: 8.312 kB / 1.191 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/1.097, allocations: 121.4 kB / 1.191 GB, free: 13.42 MB / 0.9044 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.001097/1.098, allocations: 0.7855 MB / 1.192 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/1.098, allocations: 80.41 kB / 1.192 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/1.099, allocations: 77.06 kB / 1.192 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003167/1.099, allocations: 192.6 kB / 1.192 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/1.099, allocations: 31.75 kB / 1.192 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/1.099, allocations: 0 / 1.192 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006683/1.1, allocations: 223.7 kB / 1.192 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/1.1, allocations: 61.38 kB / 1.192 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/1.1, allocations: 266.2 kB / 1.193 GB, free: 12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/1.1, allocations: 28.52 kB / 1.193 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/1.1, allocations: 146.5 kB / 1.193 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/1.1, allocations: 28.72 kB / 1.193 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/1.1, allocations: 31.77 kB / 1.193 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.1, allocations: 332 kB / 1.193 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/1.1, allocations: 51.2 kB / 1.193 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/1.101, allocations: 91.64 kB / 1.193 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/1.101, allocations: 126.1 kB / 1.193 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/1.101, allocations: 3.938 kB / 1.193 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003384/1.101, allocations: 161.6 kB / 1.194 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.101, allocations: 5.5 kB / 1.194 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.101, allocations: 1.375 kB / 1.194 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/1.101, allocations: 5.312 kB / 1.194 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/1.101, allocations: 20.48 kB / 1.194 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/1.101, allocations: 1.375 kB / 1.194 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/1.102, allocations: 21.55 kB / 1.194 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/1.102, allocations: 4.125 kB / 1.194 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001939/1.102, allocations: 153.2 kB / 1.194 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001561/1.102, allocations: 91.05 kB / 1.194 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000241/1.102, allocations: 121.6 kB / 1.194 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.944e-06/1.102, allocations: 1.562 kB / 1.194 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003311/1.103, allocations: 148.3 kB / 1.194 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/1.103, allocations: 7.875 kB / 1.194 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/1.103, allocations: 1.156 kB / 1.194 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.556e-06/1.103, allocations: 10.41 kB / 1.194 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/1.103, allocations: 31.5 kB / 1.194 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/1.103, allocations: 6.188 kB / 1.194 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/1.103, allocations: 16.45 kB / 1.194 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/1.103, allocations: 4.625 kB / 1.194 GB, free: 10.75 MB / 0.9044 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.0001147/1.103, allocations: 192.2 kB / 1.194 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.934e-05/1.103, allocations: 26.83 kB / 1.194 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003626/1.104, allocations: 168.4 kB / 1.195 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.104, allocations: 5.25 kB / 1.195 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.104, allocations: 0 / 1.195 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/1.104, allocations: 0 / 1.195 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008958/1.105, allocations: 0.5904 MB / 1.195 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/1.105, allocations: 1.094 kB / 1.195 GB, free: 9.898 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/1.105, allocations: 26.2 kB / 1.195 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/1.105, allocations: 2.844 kB / 1.195 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/1.105, allocations: 2.938 kB / 1.195 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.105, allocations: 5.656 kB / 1.195 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.105, allocations: 2.812 kB / 1.195 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/1.105, allocations: 307.6 kB / 1.196 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/1.105, allocations: 114 kB / 1.196 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/1.105, allocations: 2.75 kB / 1.196 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/1.105, allocations: 16.23 kB / 1.196 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/1.106, allocations: 16.05 kB / 1.196 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/1.106, allocations: 5.5 kB / 1.196 GB, free: 9.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001762/1.106, allocations: 198.4 kB / 1.196 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.106, allocations: 0 / 1.196 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004982/1.106, allocations: 92.84 kB / 1.196 GB, free: 9.332 MB / 0.9044 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.0004262/1.107, allocations: 169.9 kB / 1.196 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004733/1.107, allocations: 174.6 kB / 1.196 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/1.107, allocations: 0 / 1.196 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/1.107, allocations: 62.78 kB / 1.196 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007066/1.108, allocations: 111.5 kB / 1.196 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/1.109, allocations: 439.9 kB / 1.197 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/1.109, allocations: 0.7585 MB / 1.198 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002102/1.109, allocations: 70.22 kB / 1.198 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/1.109, allocations: 25.47 kB / 1.198 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of SimCode: time 5.11e-07/1.109, allocations: 0 / 1.198 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of Templates: time 0.009365/1.119, allocations: 4.391 MB / 1.202 GB, free: 5.75 MB / 0.9044 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches