Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FlowJunctionSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",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.001056/0.001056, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007141/0.007141, allocations: 169.4 kB / 16.26 MB, free: 6.66 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.252/1.252, 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 11.0.0-master/package.mo): time 2.525/2.525, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003104, allocations: 12.91 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.25, allocations: 159.6 MB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.775/1.025, allocations: 234.6 MB / 1.288 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01025/1.035, allocations: 7.215 MB / 1.295 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/1.037, allocations: 45 kB / 1.295 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/1.038, allocations: 427.5 kB / 1.295 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002895/1.041, allocations: 1.244 MB / 1.297 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004282/1.045, allocations: 1.556 MB / 1.298 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003722/1.049, allocations: 2.767 MB / 1.301 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009377/1.05, allocations: 0.6755 MB / 1.301 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/1.052, allocations: 1.305 MB / 1.303 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007667/1.053, allocations: 0.6853 MB / 1.303 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.386e-05/1.053, allocations: 43.56 kB / 1.303 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003266/1.057, allocations: 2.078 MB / 1.305 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002511/1.057, allocations: 276.7 kB / 1.306 GB, free: 2.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000578/1.057, allocations: 470.8 kB / 1.306 GB, free: 18.03 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002204/1.06, allocations: 1.847 MB / 1.308 GB, free: 17.93 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/1.06, allocations: 0 / 1.308 GB, free: 17.93 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.362e-06/1.06, allocations: 0 / 1.308 GB, free: 17.93 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.779e-06/1.06, allocations: 1.125 kB / 1.308 GB, free: 17.93 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001879/1.061, allocations: 1.151 MB / 1.309 GB, free: 17.21 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/1.062, allocations: 12.88 kB / 1.309 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/1.062, allocations: 89.7 kB / 1.309 GB, free: 17.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/1.063, allocations: 281.2 kB / 1.309 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009351/1.064, allocations: 0.6648 MB / 1.31 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/1.064, allocations: 37.78 kB / 1.31 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.944e-05/1.064, allocations: 53.66 kB / 1.31 GB, free: 16.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/1.065, allocations: 0.619 MB / 1.311 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/1.065, allocations: 0 / 1.311 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.526e-05/1.065, allocations: 20.19 kB / 1.311 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/1.065, allocations: 14.86 kB / 1.311 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/1.067, allocations: 0.6324 MB / 1.311 GB, free: 16.73 MB / 1.014 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.003104/1.07, allocations: 2.631 MB / 1.314 GB, free: 15.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008529/1.071, allocations: 491.9 kB / 1.314 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004919/1.071, allocations: 322.7 kB / 1.315 GB, free: 15.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006429/1.072, allocations: 421.2 kB / 1.315 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/1.072, allocations: 40.5 kB / 1.315 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005968/1.072, allocations: 184.3 kB / 1.315 GB, free: 14.95 MB / 1.014 GB Notification: Performance of pre-optimization done (n=45): time 1.733e-06/1.072, allocations: 0.9688 kB / 1.315 GB, free: 14.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=45): time 0.002379/1.075, allocations: 1.139 MB / 1.317 GB, free: 14.72 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/1.075, allocations: 57.78 kB / 1.317 GB, free: 14.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006563/1.075, allocations: 0.6566 MB / 1.317 GB, free: 14.53 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/1.075, allocations: 34.95 kB / 1.317 GB, free: 14.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/1.076, allocations: 343.2 kB / 1.318 GB, free: 14.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.349e-05/1.076, allocations: 158.3 kB / 1.318 GB, free: 14.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/1.076, allocations: 42.61 kB / 1.318 GB, free: 14.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/1.076, allocations: 328.7 kB / 1.318 GB, free: 13.94 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/1.076, allocations: 223.8 kB / 1.318 GB, free: 13.94 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/1.077, allocations: 330.3 kB / 1.319 GB, free: 13.87 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008681/1.078, allocations: 0.5301 MB / 1.319 GB, free: 13.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.078, allocations: 1.75 kB / 1.319 GB, free: 13.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001336/1.079, allocations: 0.7246 MB / 1.32 GB, free: 13.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.482e-05/1.079, allocations: 113.7 kB / 1.32 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/1.079, allocations: 1.375 kB / 1.32 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003908/1.079, allocations: 88.58 kB / 1.32 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/1.08, allocations: 102.4 kB / 1.32 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004312/1.08, allocations: 0.6228 MB / 1.321 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006016/1.081, allocations: 68.78 kB / 1.321 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/1.081, allocations: 25.61 kB / 1.321 GB, free: 13.07 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.681e-06/1.081, allocations: 3.062 kB / 1.321 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001055/1.082, allocations: 0.6008 MB / 1.321 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/1.082, allocations: 3.984 kB / 1.321 GB, free: 13.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/1.082, allocations: 59.17 kB / 1.321 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/1.083, allocations: 99.39 kB / 1.322 GB, free: 13.03 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/1.084, allocations: 1.683 MB / 1.323 GB, free: 11.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/1.085, allocations: 69.22 kB / 1.323 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.869e-05/1.085, allocations: 26.94 kB / 1.323 GB, free: 11.68 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (43): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002937/1.085, allocations: 294.1 kB / 1.324 GB, free: 11.49 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/1.085, allocations: 80.88 kB / 1.324 GB, free: 11.45 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/1.086, allocations: 0.7747 MB / 1.324 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.086, allocations: 3.312 kB / 1.324 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/1.086, allocations: 3.938 kB / 1.324 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.086, allocations: 6.406 kB / 1.324 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/1.089, allocations: 1.68 MB / 1.326 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/1.089, allocations: 3.688 kB / 1.326 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/1.089, allocations: 87.19 kB / 1.326 GB, free: 10.91 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001501/1.089, allocations: 71.28 kB / 1.326 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/1.089, allocations: 17.84 kB / 1.326 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003518/1.09, allocations: 0.6211 MB / 1.327 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.09, allocations: 3.031 kB / 1.327 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/1.091, allocations: 1.195 MB / 1.328 GB, free: 10.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/1.091, allocations: 209.3 kB / 1.328 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.485e-05/1.092, allocations: 17.38 kB / 1.328 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/1.092, allocations: 69.45 kB / 1.328 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.199e-05/1.092, allocations: 40.05 kB / 1.328 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/1.092, allocations: 16.03 kB / 1.328 GB, free: 9.891 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004644/1.093, allocations: 475.3 kB / 1.329 GB, free: 9.797 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.093, allocations: 5.797 kB / 1.329 GB, free: 9.793 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009944/1.094, allocations: 373.8 kB / 1.329 GB, free: 9.758 MB / 1.014 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002145/1.096, allocations: 1.831 MB / 1.331 GB, free: 8.887 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00164/1.098, allocations: 0.9891 MB / 1.332 GB, free: 8.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.098, allocations: 3.688 kB / 1.332 GB, free: 8.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005159/1.098, allocations: 321.6 kB / 1.332 GB, free: 8.742 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/1.101, allocations: 478.5 kB / 1.333 GB, free: 8.691 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/1.112, allocations: 7.037 MB / 1.34 GB, free: 5.98 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/1.113, allocations: 0.9693 MB / 1.341 GB, free: 5.27 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008458/1.113, allocations: 221.5 kB / 1.341 GB, free: 5.219 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003757/1.114, allocations: 284.5 kB / 1.341 GB, free: 5.211 MB / 1.014 GB Notification: Performance of SimCode: time 4.3e-07/1.114, allocations: 0 / 1.341 GB, free: 5.211 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03667/1.15, allocations: 22.57 MB / 1.363 GB, free: 13.37 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/1.151, allocations: 305.7 kB / 1.363 GB, free: 12.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/3.431, allocations: 0.9062 kB / 1.363 GB, free: 12.98 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches