Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_latest_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.001447/0.001447, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001723/0.001723, allocations: 195.4 kB / 16.25 MB, free: 6.625 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.521/2.521, allocations: 461.9 MB / 0.7343 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 64.14 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.222, allocations: 157.4 MB / 1.052 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.6358/0.8578, allocations: 237 MB / 1.284 GB, free: 20.19 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009786/0.8676, allocations: 7.109 MB / 1.291 GB, free: 20.1 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.8695, allocations: 47.5 kB / 1.291 GB, free: 20.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.8709, allocations: 452.6 kB / 1.291 GB, free: 20.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.8741, allocations: 1.229 MB / 1.292 GB, free: 20.04 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003704/0.8778, allocations: 1.486 MB / 1.294 GB, free: 19.99 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002619/0.8805, allocations: 1.95 MB / 1.296 GB, free: 19.99 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.8816, allocations: 0.7698 MB / 1.297 GB, free: 19.93 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00307/0.8846, allocations: 1.402 MB / 1.298 GB, free: 19.91 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.886, allocations: 0.7035 MB / 1.299 GB, free: 19.91 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.8861, allocations: 75.03 kB / 1.299 GB, free: 19.91 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.8887, allocations: 1.536 MB / 1.3 GB, free: 19.89 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.8889, allocations: 296.2 kB / 1.3 GB, free: 19.89 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000462/0.8894, allocations: 486.2 kB / 1.301 GB, free: 19.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001827/0.8912, allocations: 1.725 MB / 1.303 GB, free: 19.65 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.8912, allocations: 0.9375 kB / 1.303 GB, free: 19.65 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8913, allocations: 3.938 kB / 1.303 GB, free: 19.64 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.8913, allocations: 0 / 1.303 GB, free: 19.64 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.00173/0.893, allocations: 1.265 MB / 1.304 GB, free: 18.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.893, allocations: 10.78 kB / 1.304 GB, free: 18.93 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.873e-05/0.8931, allocations: 95.08 kB / 1.304 GB, free: 18.88 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.8947, allocations: 286.3 kB / 1.304 GB, free: 18.83 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008134/0.8956, allocations: 0.6459 MB / 1.305 GB, free: 18.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.8956, allocations: 42.72 kB / 1.305 GB, free: 18.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.692e-05/0.8957, allocations: 53.25 kB / 1.305 GB, free: 18.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009253/0.8966, allocations: 0.5949 MB / 1.306 GB, free: 18.48 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.8966, allocations: 3.938 kB / 1.306 GB, free: 18.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.048e-05/0.8967, allocations: 22.5 kB / 1.306 GB, free: 18.48 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.8967, allocations: 12.16 kB / 1.306 GB, free: 18.48 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009697/0.8977, allocations: 0.6005 MB / 1.306 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.002923/0.9006, allocations: 2.879 MB / 1.309 GB, free: 17.06 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/0.9012, allocations: 401.8 kB / 1.309 GB, free: 17.03 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/0.9016, allocations: 276.1 kB / 1.31 GB, free: 17.02 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005436/0.9022, allocations: 398.4 kB / 1.31 GB, free: 16.65 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.304e-05/0.9022, allocations: 37.89 kB / 1.31 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006322/0.9028, allocations: 164 kB / 1.31 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 1.914e-06/0.9028, allocations: 0.8438 kB / 1.31 GB, free: 16.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39): time 0.001524/0.9044, allocations: 0.8199 MB / 1.311 GB, free: 16.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.9044, allocations: 57.06 kB / 1.311 GB, free: 16.44 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006747/0.9051, allocations: 0.6917 MB / 1.312 GB, free: 16.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.9051, allocations: 36.17 kB / 1.312 GB, free: 16.29 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.9053, allocations: 358.1 kB / 1.312 GB, free: 16.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.379e-05/0.9054, allocations: 137 kB / 1.312 GB, free: 16.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.9056, allocations: 88.33 kB / 1.312 GB, free: 16.06 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.895e-05/0.9056, allocations: 323.4 kB / 1.313 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.906, allocations: 211.8 kB / 1.313 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.9064, allocations: 295.9 kB / 1.313 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007699/0.9072, allocations: 0.4988 MB / 1.314 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.9072, allocations: 1.531 kB / 1.314 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009638/0.9082, allocations: 0.6194 MB / 1.314 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.9082, allocations: 7.188 kB / 1.314 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.9082, allocations: 6.438 kB / 1.314 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.9082, allocations: 3.375 kB / 1.314 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/0.9087, allocations: 107.3 kB / 1.314 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.9087, allocations: 3.406 kB / 1.314 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005629/0.9093, allocations: 61.53 kB / 1.314 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.9094, allocations: 23.05 kB / 1.314 GB, free: 15.53 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.0002045/0.9096, allocations: 219.8 kB / 1.315 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.9097, allocations: 77.56 kB / 1.315 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.9107, allocations: 0.6544 MB / 1.315 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.9107, allocations: 8.531 kB / 1.315 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.9108, allocations: 1 kB / 1.315 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.9108, allocations: 0 / 1.315 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.9127, allocations: 1.527 MB / 1.317 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.9127, allocations: 7.406 kB / 1.317 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.9131, allocations: 84.47 kB / 1.317 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.9131, allocations: 5.062 kB / 1.317 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.9132, allocations: 10.56 kB / 1.317 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.9132, allocations: 12.38 kB / 1.317 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.9132, allocations: 3.375 kB / 1.317 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.9145, allocations: 1.05 MB / 1.318 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/0.9147, allocations: 196.5 kB / 1.318 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.9148, allocations: 12.69 kB / 1.318 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005087/0.9154, allocations: 48.78 kB / 1.318 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/0.9155, allocations: 37.48 kB / 1.318 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.9155, allocations: 20.81 kB / 1.318 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004747/0.916, allocations: 0.491 MB / 1.319 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.916, allocations: 0 / 1.319 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006035/0.9166, allocations: 195.2 kB / 1.319 GB, free: 14.36 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.001736/0.9183, allocations: 1.707 MB / 1.321 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000885/0.9192, allocations: 0.5283 MB / 1.321 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9192, allocations: 4.75 kB / 1.321 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.9197, allocations: 275.8 kB / 1.321 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.9215, allocations: 471.9 kB / 1.322 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.9318, allocations: 6.887 MB / 1.329 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.9321, allocations: 0.9656 MB / 1.329 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000659/0.9328, allocations: 173.6 kB / 1.33 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.9331, allocations: 288.6 kB / 1.33 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/0.9331, allocations: 0 / 1.33 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.303/2.236, allocations: 22.59 MB / 1.352 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/2.236, allocations: 288.3 kB / 1.352 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.556/5.791, allocations: 0 / 1.352 GB, free: 3.16 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches