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.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.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.001252/0.001252, 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.001218/0.001218, allocations: 193.9 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.277/1.277, allocations: 222.9 MB / 239.8 MB, free: 4.621 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.559/2.559, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 0.8686 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8282/0.8296, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2916/1.121, allocations: 237.8 MB / 1.249 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7235/1.845, allocations: 7.212 MB / 1.256 GB, free: 20 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001593/1.846, allocations: 45.47 kB / 1.256 GB, free: 20 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/1.848, allocations: 433.3 kB / 1.256 GB, free: 20 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004626/1.853, allocations: 1.234 MB / 1.258 GB, free: 19.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00449/1.857, allocations: 1.475 MB / 1.259 GB, free: 19.94 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005175/1.862, allocations: 2.704 MB / 1.262 GB, free: 19.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/1.864, allocations: 0.6801 MB / 1.262 GB, free: 19.87 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003723/1.867, allocations: 1.301 MB / 1.264 GB, free: 19.85 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/1.869, allocations: 0.6952 MB / 1.264 GB, free: 19.84 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/1.869, allocations: 49.75 kB / 1.264 GB, free: 19.84 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004309/1.873, allocations: 1.75 MB / 1.266 GB, free: 19.83 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005175/1.874, allocations: 268.5 kB / 1.266 GB, free: 19.83 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001639/1.876, allocations: 457.4 kB / 1.267 GB, free: 19.83 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00571/1.881, allocations: 1.702 MB / 1.268 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/1.881, allocations: 1.625 kB / 1.268 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.913e-06/1.881, allocations: 0 / 1.268 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.129e-05/1.881, allocations: 0 / 1.268 GB, free: 19.74 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.003309/1.885, allocations: 1.26 MB / 1.27 GB, free: 19.02 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/1.885, allocations: 9.688 kB / 1.27 GB, free: 19.02 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/1.885, allocations: 95.28 kB / 1.27 GB, free: 18.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002195/1.887, allocations: 285.2 kB / 1.27 GB, free: 18.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/1.888, allocations: 0.6479 MB / 1.271 GB, free: 18.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/1.888, allocations: 45.17 kB / 1.271 GB, free: 18.62 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/1.889, allocations: 52.84 kB / 1.271 GB, free: 18.62 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/1.89, allocations: 0.6007 MB / 1.271 GB, free: 18.58 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/1.89, allocations: 3.188 kB / 1.271 GB, free: 18.58 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.999e-05/1.89, allocations: 18.09 kB / 1.271 GB, free: 18.58 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/1.89, allocations: 11.84 kB / 1.271 GB, free: 18.58 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/1.891, allocations: 0.602 MB / 1.272 GB, free: 18.57 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.003968/1.895, allocations: 2.875 MB / 1.275 GB, free: 17.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00076/1.896, allocations: 393.3 kB / 1.275 GB, free: 17.17 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005294/1.897, allocations: 280.3 kB / 1.275 GB, free: 17.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006612/1.897, allocations: 400.4 kB / 1.276 GB, free: 16.78 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/1.897, allocations: 36.95 kB / 1.276 GB, free: 16.74 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008456/1.898, allocations: 189.9 kB / 1.276 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 2.685e-06/1.898, allocations: 0 / 1.276 GB, free: 16.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39): time 0.00178/1.9, allocations: 0.7932 MB / 1.277 GB, free: 16.62 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/1.9, allocations: 59.09 kB / 1.277 GB, free: 16.56 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008856/1.901, allocations: 0.695 MB / 1.278 GB, free: 16.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.64e-05/1.901, allocations: 35.52 kB / 1.278 GB, free: 16.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/1.901, allocations: 356.3 kB / 1.278 GB, free: 16.28 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/1.901, allocations: 138.7 kB / 1.278 GB, free: 16.19 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/1.902, allocations: 88.34 kB / 1.278 GB, free: 16.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.452e-05/1.902, allocations: 322.8 kB / 1.278 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004488/1.902, allocations: 200.5 kB / 1.279 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005281/1.903, allocations: 300.4 kB / 1.279 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009375/1.904, allocations: 487.3 kB / 1.279 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.904, allocations: 0 / 1.279 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001254/1.905, allocations: 0.6048 MB / 1.28 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/1.905, allocations: 5.625 kB / 1.28 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.905, allocations: 1.094 kB / 1.28 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.905, allocations: 3.625 kB / 1.28 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/1.905, allocations: 103.5 kB / 1.28 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/1.905, allocations: 2.469 kB / 1.28 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006843/1.906, allocations: 61.61 kB / 1.28 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/1.906, allocations: 20.66 kB / 1.28 GB, free: 15.63 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.0002601/1.907, allocations: 225.1 kB / 1.28 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/1.907, allocations: 84.31 kB / 1.28 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/1.908, allocations: 0.6349 MB / 1.281 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.575e-06/1.908, allocations: 4.156 kB / 1.281 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/1.908, allocations: 5.469 kB / 1.281 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/1.908, allocations: 5.297 kB / 1.281 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/1.91, allocations: 1.49 MB / 1.283 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/1.91, allocations: 6.844 kB / 1.283 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004791/1.911, allocations: 85.42 kB / 1.283 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/1.911, allocations: 5.5 kB / 1.283 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/1.911, allocations: 10.12 kB / 1.283 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/1.911, allocations: 11.41 kB / 1.283 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.911, allocations: 2.75 kB / 1.283 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/1.913, allocations: 1.029 MB / 1.284 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/1.913, allocations: 195.1 kB / 1.284 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/1.913, allocations: 17.88 kB / 1.284 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005537/1.914, allocations: 43.72 kB / 1.284 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/1.914, allocations: 39.97 kB / 1.284 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/1.914, allocations: 20.03 kB / 1.284 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006096/1.914, allocations: 0.4901 MB / 1.284 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.71e-07/1.914, allocations: 0 / 1.284 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007619/1.915, allocations: 201.4 kB / 1.285 GB, free: 14.43 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.002046/1.917, allocations: 1.674 MB / 1.286 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009159/1.918, allocations: 491.8 kB / 1.287 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.918, allocations: 0 / 1.287 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004811/1.919, allocations: 268.4 kB / 1.287 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/1.921, allocations: 0.4925 MB / 1.287 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/1.933, allocations: 6.846 MB / 1.294 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/1.933, allocations: 0.965 MB / 1.295 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008864/1.934, allocations: 174.8 kB / 1.295 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/1.935, allocations: 284.8 kB / 1.296 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of SimCode: time 3.907e-06/1.935, allocations: 0 / 1.296 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1861/2.121, allocations: 22.11 MB / 1.317 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/2.121, allocations: 281.8 kB / 1.317 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/4.534, allocations: 6.016 kB / 1.317 GB, free: 6.609 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 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.mat","/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