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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008773/0.008778, allocations: 99.44 kB / 15.73 MB, free: 6.039 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.002108/0.002109, allocations: 193.6 kB / 16.67 MB, free: 5.965 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.621/2.621, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 71.89 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2873, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.8317/1.119, allocations: 161.5 MB / 1.324 GB, free: 7.492 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.003653/1.123, allocations: 1.706 MB / 1.326 GB, free: 6.531 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006126/1.123, allocations: 14.53 kB / 1.326 GB, free: 6.523 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007714/1.124, allocations: 159.4 kB / 1.326 GB, free: 6.426 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001838/1.126, allocations: 0.5371 MB / 1.326 GB, free: 6.145 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/1.128, allocations: 420.8 kB / 1.327 GB, free: 5.949 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001117/1.129, allocations: 0.5769 MB / 1.327 GB, free: 5.688 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/1.129, allocations: 174.5 kB / 1.327 GB, free: 5.617 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009131/1.13, allocations: 331.4 kB / 1.328 GB, free: 5.469 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/1.131, allocations: 147.6 kB / 1.328 GB, free: 5.406 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.278e-05/1.131, allocations: 12.59 kB / 1.328 GB, free: 5.406 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/1.132, allocations: 0.6997 MB / 1.329 GB, free: 5.156 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001832/1.132, allocations: 84.97 kB / 1.329 GB, free: 5.121 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000217/1.133, allocations: 116.2 kB / 1.329 GB, free: 5.055 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/1.134, allocations: 496.9 kB / 1.329 GB, free: 4.891 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/1.134, allocations: 0.75 kB / 1.329 GB, free: 4.891 MB / 1.014 GB Notification: Performance of FrontEnd: time 5.04e-06/1.134, allocations: 4 kB / 1.329 GB, free: 4.887 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.228e-05/1.134, allocations: 3.938 kB / 1.329 GB, free: 4.883 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001226/1.135, allocations: 0.5963 MB / 1.33 GB, free: 4.359 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/1.135, allocations: 10.28 kB / 1.33 GB, free: 4.359 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.42e-05/1.135, allocations: 47.52 kB / 1.33 GB, free: 4.312 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004154/1.136, allocations: 53.92 kB / 1.33 GB, free: 4.297 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/1.136, allocations: 306.6 kB / 1.33 GB, free: 4.035 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/1.136, allocations: 9.344 kB / 1.33 GB, free: 4.031 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/1.137, allocations: 18.25 kB / 1.33 GB, free: 4.023 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/1.137, allocations: 193.2 kB / 1.33 GB, free: 3.922 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/1.137, allocations: 0 / 1.33 GB, free: 3.922 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/1.137, allocations: 6.344 kB / 1.33 GB, free: 3.918 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/1.137, allocations: 2.594 kB / 1.33 GB, free: 3.918 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003491/1.137, allocations: 130.2 kB / 1.331 GB, free: 3.883 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.001253/1.139, allocations: 0.788 MB / 1.331 GB, free: 3.254 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/1.139, allocations: 80.42 kB / 1.331 GB, free: 3.215 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/1.139, allocations: 80.78 kB / 1.331 GB, free: 3.184 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003198/1.139, allocations: 189.9 kB / 1.332 GB, free: 2.992 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/1.139, allocations: 39.88 kB / 1.332 GB, free: 2.945 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.794e-06/1.14, allocations: 3.938 kB / 1.332 GB, free: 2.941 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006973/1.14, allocations: 219.2 kB / 1.332 GB, free: 2.855 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/1.14, allocations: 54.33 kB / 1.332 GB, free: 2.793 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002986/1.141, allocations: 266.1 kB / 1.332 GB, free: 2.648 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/1.141, allocations: 31.27 kB / 1.332 GB, free: 2.613 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/1.141, allocations: 153 kB / 1.332 GB, free: 2.48 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/1.141, allocations: 33.62 kB / 1.332 GB, free: 2.453 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.354e-05/1.141, allocations: 33.39 kB / 1.332 GB, free: 2.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.141, allocations: 332.2 kB / 1.333 GB, free: 2.105 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/1.141, allocations: 46.61 kB / 1.333 GB, free: 2.09 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/1.141, allocations: 90.27 kB / 1.333 GB, free: 2.027 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/1.142, allocations: 122.8 kB / 1.333 GB, free: 1.965 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.142, allocations: 0 / 1.333 GB, free: 1.965 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004015/1.142, allocations: 164.3 kB / 1.333 GB, free: 1.887 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/1.142, allocations: 6.344 kB / 1.333 GB, free: 1.887 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/1.142, allocations: 1.156 kB / 1.333 GB, free: 1.887 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/1.142, allocations: 9.219 kB / 1.333 GB, free: 1.879 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001319/1.142, allocations: 21.16 kB / 1.333 GB, free: 1.879 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/1.142, allocations: 1.406 kB / 1.333 GB, free: 1.879 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/1.143, allocations: 26.31 kB / 1.333 GB, free: 1.867 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/1.143, allocations: 4.938 kB / 1.333 GB, free: 1.867 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002508/1.143, allocations: 149.4 kB / 1.333 GB, free: 1.766 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001926/1.143, allocations: 97.28 kB / 1.333 GB, free: 1.699 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002487/1.143, allocations: 115.3 kB / 1.334 GB, free: 1.641 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-06/1.143, allocations: 1.469 kB / 1.334 GB, free: 1.641 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003576/1.144, allocations: 158.4 kB / 1.334 GB, free: 1.566 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/1.144, allocations: 4.531 kB / 1.334 GB, free: 1.566 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-06/1.144, allocations: 1.312 kB / 1.334 GB, free: 1.566 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.518e-06/1.144, allocations: 2.219 kB / 1.334 GB, free: 1.566 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/1.144, allocations: 28.56 kB / 1.334 GB, free: 1.559 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/1.144, allocations: 3.906 kB / 1.334 GB, free: 1.559 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/1.144, allocations: 16.95 kB / 1.334 GB, free: 1.555 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/1.144, allocations: 9.688 kB / 1.334 GB, free: 1.551 MB / 1.014 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.000121/1.144, allocations: 191.7 kB / 1.334 GB, free: 1.359 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.648e-05/1.144, allocations: 23.59 kB / 1.334 GB, free: 1.348 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000399/1.145, allocations: 167.3 kB / 1.334 GB, free: 1.266 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/1.145, allocations: 1.594 kB / 1.334 GB, free: 1.266 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.145, allocations: 0 / 1.334 GB, free: 1.266 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.145, allocations: 5.875 kB / 1.334 GB, free: 1.262 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/1.146, allocations: 0.5914 MB / 1.335 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.146, allocations: 2.812 kB / 1.335 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/1.146, allocations: 34.48 kB / 1.335 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.146, allocations: 2.188 kB / 1.335 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/1.146, allocations: 2.969 kB / 1.335 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/1.146, allocations: 2.844 kB / 1.335 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.146, allocations: 2.906 kB / 1.335 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004259/1.146, allocations: 292.8 kB / 1.335 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/1.146, allocations: 111.7 kB / 1.335 GB, free: 464 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/1.147, allocations: 10.36 kB / 1.335 GB, free: 460 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/1.147, allocations: 14.25 kB / 1.335 GB, free: 456 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/1.147, allocations: 18.67 kB / 1.335 GB, free: 444 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/1.147, allocations: 5.625 kB / 1.335 GB, free: 444 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000213/1.147, allocations: 196.2 kB / 1.335 GB, free: 328 kB / 1.014 GB Notification: Performance of sort global known variables: time 2.4e-07/1.147, allocations: 0 / 1.335 GB, free: 328 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005313/1.148, allocations: 94.34 kB / 1.335 GB, free: 312 kB / 1.014 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.001056/1.149, allocations: 0.892 MB / 1.336 GB, free: 15.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004888/1.149, allocations: 164.7 kB / 1.337 GB, free: 15.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.149, allocations: 1.062 kB / 1.337 GB, free: 15.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/1.149, allocations: 67.17 kB / 1.337 GB, free: 15.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007424/1.15, allocations: 126.6 kB / 1.337 GB, free: 15.42 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/1.153, allocations: 2.357 MB / 1.339 GB, free: 13.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/1.154, allocations: 0.7545 MB / 1.34 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002385/1.154, allocations: 73.84 kB / 1.34 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/1.154, allocations: 70.81 kB / 1.34 GB, free: 12.95 MB / 1.029 GB Notification: Performance of SimCode: time 4.31e-07/1.154, allocations: 0 / 1.34 GB, free: 12.95 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/1.183, allocations: 6.906 MB / 1.347 GB, free: 12.19 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/9.041, allocations: 12.89 kB / 1.347 GB, free: 12.18 MB / 1.029 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_FixedResistances_Examples_PressureDrop.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches