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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001398/0.001398, 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.001538/0.001539, allocations: 196.5 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.257/1.257, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.499/2.499, allocations: 461.9 MB / 0.7342 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 62.22 kB / 0.8985 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2529, allocations: 157.4 MB / 1.052 GB, free: 8.172 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.7079/0.9609, allocations: 237.7 MB / 1.284 GB, free: 19.98 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009943/0.9709, allocations: 7.237 MB / 1.291 GB, free: 19.83 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.972, allocations: 47.78 kB / 1.291 GB, free: 19.83 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.9731, allocations: 431 kB / 1.292 GB, free: 19.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002414/0.9755, allocations: 1.232 MB / 1.293 GB, free: 19.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.9787, allocations: 1.471 MB / 1.295 GB, free: 19.7 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002381/0.9811, allocations: 2.711 MB / 1.297 GB, free: 19.69 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007592/0.9818, allocations: 0.6783 MB / 1.298 GB, free: 19.62 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.984, allocations: 1.302 MB / 1.299 GB, free: 19.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006827/0.9847, allocations: 0.6882 MB / 1.3 GB, free: 19.58 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.9848, allocations: 53.38 kB / 1.3 GB, free: 19.58 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002528/0.9873, allocations: 1.751 MB / 1.302 GB, free: 19.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002387/0.9875, allocations: 274.3 kB / 1.302 GB, free: 19.56 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004264/0.988, allocations: 452.7 kB / 1.302 GB, free: 19.51 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.9897, allocations: 1.703 MB / 1.304 GB, free: 19.31 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9898, allocations: 1.312 kB / 1.304 GB, free: 19.31 MB / 0.9981 GB Notification: Performance of FrontEnd: time 6.62e-07/0.9898, allocations: 0 / 1.304 GB, free: 19.31 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.9898, allocations: 0 / 1.304 GB, free: 19.31 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.001844/0.9916, allocations: 1.267 MB / 1.305 GB, free: 18.58 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.9917, allocations: 10 kB / 1.305 GB, free: 18.58 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.292e-05/0.9918, allocations: 91.55 kB / 1.305 GB, free: 18.54 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.9934, allocations: 281 kB / 1.306 GB, free: 18.49 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008068/0.9942, allocations: 0.6462 MB / 1.306 GB, free: 18.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.9943, allocations: 40.06 kB / 1.306 GB, free: 18.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.642e-05/0.9944, allocations: 56.81 kB / 1.306 GB, free: 18.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009634/0.9953, allocations: 0.5945 MB / 1.307 GB, free: 18.13 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.9954, allocations: 3.938 kB / 1.307 GB, free: 18.13 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.9954, allocations: 25.28 kB / 1.307 GB, free: 18.12 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.9954, allocations: 12.06 kB / 1.307 GB, free: 18.12 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.9965, allocations: 0.601 MB / 1.307 GB, free: 18.12 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.002997/0.9995, allocations: 2.875 MB / 1.31 GB, free: 16.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/1, allocations: 410.2 kB / 1.311 GB, free: 16.67 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00042/1.001, allocations: 275.4 kB / 1.311 GB, free: 16.66 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005516/1.001, allocations: 400 kB / 1.311 GB, free: 16.28 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/1.001, allocations: 37.02 kB / 1.311 GB, free: 16.24 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005882/1.002, allocations: 192.4 kB / 1.311 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 1.543e-06/1.002, allocations: 0 / 1.311 GB, free: 16.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39): time 0.001621/1.003, allocations: 0.7953 MB / 1.312 GB, free: 16.12 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/1.003, allocations: 56.19 kB / 1.312 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00073/1.004, allocations: 0.6954 MB / 1.313 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.875e-05/1.004, allocations: 31.7 kB / 1.313 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/1.004, allocations: 365 kB / 1.313 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.795e-05/1.004, allocations: 136.5 kB / 1.314 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/1.005, allocations: 88.66 kB / 1.314 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.322e-05/1.005, allocations: 324.8 kB / 1.314 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/1.005, allocations: 195.9 kB / 1.314 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/1.005, allocations: 298.7 kB / 1.314 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007586/1.006, allocations: 498.4 kB / 1.315 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.006, allocations: 0 / 1.315 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009487/1.007, allocations: 0.5966 MB / 1.315 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/1.007, allocations: 8.438 kB / 1.315 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.007, allocations: 0 / 1.315 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.007, allocations: 2.656 kB / 1.315 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004863/1.008, allocations: 101.6 kB / 1.316 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/1.008, allocations: 3.125 kB / 1.316 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000549/1.008, allocations: 60.86 kB / 1.316 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/1.008, allocations: 23.95 kB / 1.316 GB, free: 15.12 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.0002224/1.009, allocations: 222.2 kB / 1.316 GB, free: 15 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/1.009, allocations: 77.31 kB / 1.316 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/1.01, allocations: 0.6418 MB / 1.317 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.01, allocations: 4.812 kB / 1.317 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.01, allocations: 3.938 kB / 1.317 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.01, allocations: 3.188 kB / 1.317 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002004/1.012, allocations: 1.495 MB / 1.318 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.012, allocations: 2.938 kB / 1.318 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/1.012, allocations: 90.28 kB / 1.318 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/1.012, allocations: 4.125 kB / 1.318 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/1.012, allocations: 17.11 kB / 1.318 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/1.012, allocations: 8.406 kB / 1.318 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.012, allocations: 4.125 kB / 1.318 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/1.014, allocations: 1.029 MB / 1.319 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/1.014, allocations: 190.3 kB / 1.319 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/1.014, allocations: 14.66 kB / 1.319 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005209/1.015, allocations: 43.67 kB / 1.319 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/1.015, allocations: 46.92 kB / 1.319 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/1.015, allocations: 16.59 kB / 1.319 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004938/1.015, allocations: 499 kB / 1.32 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.1e-07/1.015, allocations: 0 / 1.32 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005948/1.016, allocations: 200 kB / 1.32 GB, free: 13.91 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.001714/1.017, allocations: 1.674 MB / 1.322 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008145/1.018, allocations: 499.7 kB / 1.322 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.018, allocations: 0 / 1.322 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004164/1.019, allocations: 269.4 kB / 1.322 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/1.021, allocations: 486.7 kB / 1.323 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/1.031, allocations: 6.844 MB / 1.33 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/1.031, allocations: 0.9559 MB / 1.331 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006089/1.032, allocations: 178.2 kB / 1.331 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/1.032, allocations: 292.3 kB / 1.331 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of SimCode: time 3.2e-07/1.032, allocations: 0 / 1.331 GB, free: 9.449 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05143/1.084, allocations: 22.12 MB / 1.353 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/1.084, allocations: 292.5 kB / 1.353 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/3.259, allocations: 0 / 1.353 GB, free: 1.934 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