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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007347/0.0007347, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004267/0.004267, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.414/1.414, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 12 kB / 0.8729 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5672/0.5676, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1621/0.7297, allocations: 157.2 MB / 1.177 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002732/0.7325, allocations: 1.709 MB / 1.178 GB, free: 368 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.7329, allocations: 7.938 kB / 1.178 GB, free: 360 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.7334, allocations: 139.2 kB / 1.178 GB, free: 220 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.7346, allocations: 482.1 kB / 1.179 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000996/0.7356, allocations: 382.6 kB / 1.179 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0009122/0.7365, allocations: 0.7576 MB / 1.18 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003051/0.7368, allocations: 152.5 kB / 1.18 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006353/0.7375, allocations: 286.8 kB / 1.18 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.7378, allocations: 159.3 kB / 1.181 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.7379, allocations: 11.94 kB / 1.181 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.739, allocations: 0.7678 MB / 1.181 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.7392, allocations: 79.67 kB / 1.181 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.7393, allocations: 133.1 kB / 1.182 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008467/0.7402, allocations: 0.514 MB / 1.182 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.7402, allocations: 0 / 1.182 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.773e-06/0.7402, allocations: 0 / 1.182 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.749e-06/0.7402, allocations: 0 / 1.182 GB, free: 12.51 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.000803/0.741, allocations: 0.5373 MB / 1.183 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.7411, allocations: 12.03 kB / 1.183 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.611e-05/0.7411, allocations: 42.56 kB / 1.183 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.7415, allocations: 67.52 kB / 1.183 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.7418, allocations: 289.3 kB / 1.183 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.7419, allocations: 8 kB / 1.183 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.7419, allocations: 19.94 kB / 1.183 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003685/0.7423, allocations: 204.1 kB / 1.183 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.7423, allocations: 4 kB / 1.183 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.7423, allocations: 4 kB / 1.183 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.7423, allocations: 4 kB / 1.183 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.7426, allocations: 135.8 kB / 1.183 GB, free: 11.09 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.0009881/0.7436, allocations: 0.7965 MB / 1.184 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.7439, allocations: 94.41 kB / 1.184 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.7441, allocations: 84.86 kB / 1.184 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002853/0.7443, allocations: 186.2 kB / 1.184 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.7444, allocations: 34.55 kB / 1.184 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.7444, allocations: 0 / 1.184 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006302/0.745, allocations: 237.2 kB / 1.185 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.7451, allocations: 55.41 kB / 1.185 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.7453, allocations: 263 kB / 1.185 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.7453, allocations: 33.7 kB / 1.185 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.551e-05/0.7454, allocations: 147.9 kB / 1.185 GB, free: 9.016 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.7455, allocations: 35.55 kB / 1.185 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.7455, allocations: 13.72 kB / 1.185 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.7456, allocations: 338.8 kB / 1.186 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.7458, allocations: 43.97 kB / 1.186 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.7459, allocations: 93.11 kB / 1.186 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.7462, allocations: 139.3 kB / 1.186 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7462, allocations: 0 / 1.186 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003375/0.7466, allocations: 169.3 kB / 1.186 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.433e-05/0.7466, allocations: 115.5 kB / 1.186 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7466, allocations: 0 / 1.186 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.7467, allocations: 4.141 kB / 1.186 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.7468, allocations: 27.92 kB / 1.186 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.7468, allocations: 4 kB / 1.186 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.747, allocations: 31.8 kB / 1.186 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.747, allocations: 7.984 kB / 1.186 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/0.747, allocations: 8.5 kB / 1.186 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002684/0.7473, allocations: 115.9 kB / 1.186 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.7473, allocations: 4 kB / 1.186 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-06/0.7473, allocations: 0 / 1.186 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.7474, allocations: 31.92 kB / 1.186 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.7475, allocations: 3.938 kB / 1.186 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.7476, allocations: 27.94 kB / 1.186 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.7476, allocations: 4 kB / 1.186 GB, free: 7.754 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.0001416/0.7478, allocations: 217.1 kB / 1.187 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.7478, allocations: 23.72 kB / 1.187 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003527/0.7482, allocations: 171.3 kB / 1.187 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.7482, allocations: 3.938 kB / 1.187 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.7482, allocations: 0 / 1.187 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.7482, allocations: 0 / 1.187 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008447/0.7491, allocations: 0.6131 MB / 1.187 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7491, allocations: 224 / 1.187 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.7492, allocations: 27.98 kB / 1.187 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.7492, allocations: 4 kB / 1.187 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.7492, allocations: 4 kB / 1.187 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.7492, allocations: 4 kB / 1.187 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.7493, allocations: 7.938 kB / 1.187 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.7496, allocations: 309.1 kB / 1.188 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.7497, allocations: 108.9 kB / 1.188 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.7498, allocations: 8 kB / 1.188 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.75, allocations: 15.98 kB / 1.188 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.75, allocations: 15.92 kB / 1.188 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.966e-06/0.75, allocations: 8 kB / 1.188 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001673/0.7502, allocations: 197.9 kB / 1.188 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7502, allocations: 0 / 1.188 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004247/0.7506, allocations: 95.84 kB / 1.188 GB, free: 5.793 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.0008699/0.7515, allocations: 0.9076 MB / 1.189 GB, free: 4.844 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004403/0.752, allocations: 171.8 kB / 1.189 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.752, allocations: 3.938 kB / 1.189 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.7521, allocations: 71.83 kB / 1.189 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.7533, allocations: 138.7 kB / 1.189 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003255/0.7566, allocations: 2.431 MB / 1.192 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.7571, allocations: 0.756 MB / 1.193 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002086/0.7573, allocations: 70.22 kB / 1.193 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.7575, allocations: 75.41 kB / 1.193 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of SimCode: time 1.713e-06/0.7575, allocations: 0 / 1.193 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.655/2.412, allocations: 6.517 MB / 1.199 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/2.413, allocations: 251.5 kB / 1.199 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/4.86, allocations: 7.938 kB / 1.199 GB, free: 10.39 MB / 0.9512 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Examples_PressureDrop_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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