Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_10_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",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.001109/0.00111, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.001169, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.545/2.545, allocations: 437.1 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001386, allocations: 67.91 kB / 0.8693 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6014/0.6028, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2354/0.8383, allocations: 239.9 MB / 1.252 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5797/1.418, allocations: 7.14 MB / 1.259 GB, free: 19.91 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002218/1.42, allocations: 50.88 kB / 1.259 GB, free: 19.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001978/1.422, allocations: 0.5055 MB / 1.259 GB, free: 19.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004505/1.427, allocations: 1.313 MB / 1.26 GB, free: 19.87 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004979/1.432, allocations: 1.6 MB / 1.262 GB, free: 19.82 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003633/1.436, allocations: 1.938 MB / 1.264 GB, free: 19.82 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/1.437, allocations: 0.7965 MB / 1.265 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003867/1.441, allocations: 1.406 MB / 1.266 GB, free: 19.72 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/1.442, allocations: 0.6651 MB / 1.267 GB, free: 19.72 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001716/1.442, allocations: 75.72 kB / 1.267 GB, free: 19.72 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003593/1.446, allocations: 1.471 MB / 1.268 GB, free: 19.71 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004834/1.447, allocations: 295.5 kB / 1.269 GB, free: 19.71 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009623/1.448, allocations: 478.4 kB / 1.269 GB, free: 19.71 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004093/1.452, allocations: 1.613 MB / 1.271 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/1.452, allocations: 0 / 1.271 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.214e-06/1.452, allocations: 0.75 kB / 1.271 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.636e-05/1.452, allocations: 0 / 1.271 GB, free: 19.62 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002681/1.454, allocations: 1.255 MB / 1.272 GB, free: 18.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/1.454, allocations: 9.938 kB / 1.272 GB, free: 18.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/1.455, allocations: 95.09 kB / 1.272 GB, free: 18.87 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/1.456, allocations: 283.2 kB / 1.272 GB, free: 18.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/1.457, allocations: 0.6563 MB / 1.273 GB, free: 18.51 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/1.458, allocations: 36.97 kB / 1.273 GB, free: 18.51 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.454e-05/1.458, allocations: 55.84 kB / 1.273 GB, free: 18.51 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/1.459, allocations: 0.5934 MB / 1.273 GB, free: 18.47 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/1.459, allocations: 3.188 kB / 1.273 GB, free: 18.47 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.596e-05/1.459, allocations: 19.22 kB / 1.273 GB, free: 18.47 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/1.459, allocations: 11.84 kB / 1.273 GB, free: 18.47 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/1.46, allocations: 0.607 MB / 1.274 GB, free: 18.47 MB / 0.9981 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.003675/1.464, allocations: 2.897 MB / 1.277 GB, free: 17.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000623/1.464, allocations: 401.9 kB / 1.277 GB, free: 17.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/1.465, allocations: 276.8 kB / 1.278 GB, free: 17.06 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006079/1.465, allocations: 400.1 kB / 1.278 GB, free: 16.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/1.465, allocations: 36.55 kB / 1.278 GB, free: 16.64 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006389/1.466, allocations: 115 kB / 1.278 GB, free: 16.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 2.545e-06/1.466, allocations: 0 / 1.278 GB, free: 16.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39): time 0.001779/1.468, allocations: 0.8107 MB / 1.279 GB, free: 16.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/1.468, allocations: 64.06 kB / 1.279 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008358/1.469, allocations: 0.6976 MB / 1.28 GB, free: 16.35 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/1.469, allocations: 32.84 kB / 1.28 GB, free: 16.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/1.469, allocations: 356.9 kB / 1.28 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.906e-05/1.469, allocations: 136.7 kB / 1.28 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001521/1.469, allocations: 91.55 kB / 1.28 GB, free: 16.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.28e-05/1.469, allocations: 328.7 kB / 1.281 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/1.47, allocations: 204.5 kB / 1.281 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/1.47, allocations: 305 kB / 1.281 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008797/1.471, allocations: 0.4928 MB / 1.281 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/1.471, allocations: 1.438 kB / 1.281 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001145/1.472, allocations: 0.6226 MB / 1.282 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.472, allocations: 4.656 kB / 1.282 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.472, allocations: 5.078 kB / 1.282 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.472, allocations: 2.438 kB / 1.282 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/1.473, allocations: 101.1 kB / 1.282 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/1.473, allocations: 3.156 kB / 1.282 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/1.474, allocations: 28.31 kB / 1.282 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/1.474, allocations: 28.16 kB / 1.282 GB, free: 15.57 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (46): * Single equations (assignments): 46 * 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.0002719/1.474, allocations: 222.2 kB / 1.282 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/1.474, allocations: 78.22 kB / 1.283 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/1.475, allocations: 0.6544 MB / 1.283 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.475, allocations: 4.531 kB / 1.283 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.475, allocations: 1.203 kB / 1.283 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.475, allocations: 2.094 kB / 1.283 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/1.478, allocations: 1.521 MB / 1.285 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/1.478, allocations: 2.75 kB / 1.285 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/1.478, allocations: 90 kB / 1.285 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/1.478, allocations: 5.5 kB / 1.285 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/1.478, allocations: 10.81 kB / 1.285 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.478, allocations: 4.125 kB / 1.285 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.478, allocations: 7.844 kB / 1.285 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/1.48, allocations: 1.058 MB / 1.286 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004493/1.481, allocations: 193.7 kB / 1.286 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/1.481, allocations: 15.64 kB / 1.286 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007734/1.482, allocations: 27.22 kB / 1.286 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/1.482, allocations: 43.53 kB / 1.286 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/1.482, allocations: 16.03 kB / 1.286 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009296/1.483, allocations: 0.4915 MB / 1.287 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.483, allocations: 0 / 1.287 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001095/1.484, allocations: 202.9 kB / 1.287 GB, free: 14.39 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * 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 (42): * Single equations (assignments): 42 * 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.00287/1.487, allocations: 1.708 MB / 1.288 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00149/1.488, allocations: 0.5336 MB / 1.289 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.488, allocations: 1.031 kB / 1.289 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006642/1.489, allocations: 276.3 kB / 1.289 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/1.492, allocations: 466.8 kB / 1.29 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/1.508, allocations: 6.685 MB / 1.296 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/1.509, allocations: 0.957 MB / 1.297 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001356/1.51, allocations: 169.8 kB / 1.297 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005938/1.511, allocations: 290.7 kB / 1.298 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of SimCode: time 1.042e-06/1.511, allocations: 0 / 1.298 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06186/1.572, allocations: 22.85 MB / 1.32 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/9.617, allocations: 5.281 kB / 1.32 GB, free: 7.441 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_10_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches