Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_9_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.001136/0.001136, 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.001206/0.001206, allocations: 199.3 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.351/1.351, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.2 MB / 0.6643 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.91 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7118/0.7132, allocations: 140.4 MB / 0.949 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2795/0.9927, allocations: 237.7 MB / 1.181 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01343/1.006, allocations: 7.227 MB / 1.188 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/1.009, allocations: 47.69 kB / 1.188 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001953/1.011, allocations: 421.6 kB / 1.189 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004239/1.015, allocations: 1.24 MB / 1.19 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004255/1.019, allocations: 1.467 MB / 1.191 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003398/1.023, allocations: 2.708 MB / 1.194 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/1.024, allocations: 0.6764 MB / 1.195 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003542/1.027, allocations: 1.296 MB / 1.196 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/1.029, allocations: 0.6925 MB / 1.197 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002525/1.029, allocations: 48 kB / 1.197 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003877/1.033, allocations: 1.761 MB / 1.198 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004333/1.034, allocations: 267.1 kB / 1.199 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0009122/1.034, allocations: 453.7 kB / 1.199 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003263/1.038, allocations: 1.702 MB / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.038, allocations: 0 / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.574e-06/1.038, allocations: 0 / 1.201 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.707e-05/1.038, allocations: 3.938 kB / 1.201 GB, free: 15.48 MB / 0.9669 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.00322/1.041, allocations: 1.257 MB / 1.202 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/1.041, allocations: 12.03 kB / 1.202 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/1.041, allocations: 90.52 kB / 1.202 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002035/1.043, allocations: 278.6 kB / 1.202 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/1.045, allocations: 0.6593 MB / 1.203 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.424e-05/1.045, allocations: 41 kB / 1.203 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/1.045, allocations: 60 kB / 1.203 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/1.046, allocations: 0.5919 MB / 1.204 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/1.046, allocations: 0 / 1.204 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.088e-05/1.046, allocations: 20 kB / 1.204 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/1.046, allocations: 12 kB / 1.204 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/1.047, allocations: 0.6089 MB / 1.204 GB, free: 11.74 MB / 0.9669 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.004749/1.052, allocations: 2.868 MB / 1.207 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/1.053, allocations: 399.2 kB / 1.207 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000506/1.053, allocations: 277.3 kB / 1.208 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007509/1.054, allocations: 400.7 kB / 1.208 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/1.054, allocations: 34.88 kB / 1.208 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008559/1.055, allocations: 199.3 kB / 1.208 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=39): time 4.599e-06/1.055, allocations: 0 / 1.208 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39): time 0.001978/1.057, allocations: 0.7976 MB / 1.209 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/1.057, allocations: 59.34 kB / 1.209 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000937/1.058, allocations: 0.6963 MB / 1.21 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/1.058, allocations: 33.7 kB / 1.21 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/1.059, allocations: 360.4 kB / 1.21 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/1.059, allocations: 137.9 kB / 1.21 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/1.059, allocations: 90.05 kB / 1.21 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.059, allocations: 322 kB / 1.211 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004228/1.059, allocations: 204.6 kB / 1.211 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/1.06, allocations: 288.8 kB / 1.211 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009197/1.061, allocations: 0.4886 MB / 1.212 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.061, allocations: 4 kB / 1.212 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001188/1.062, allocations: 0.5936 MB / 1.212 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/1.062, allocations: 4 kB / 1.212 GB, free: 3.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/1.062, allocations: 4 kB / 1.212 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.062, allocations: 4.156 kB / 1.212 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/1.063, allocations: 103.8 kB / 1.212 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/1.063, allocations: 4 kB / 1.212 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000787/1.063, allocations: 59.84 kB / 1.212 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.362e-05/1.064, allocations: 19.98 kB / 1.212 GB, free: 2.898 MB / 0.9669 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.0003992/1.064, allocations: 225.6 kB / 1.213 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/1.064, allocations: 83 kB / 1.213 GB, free: 2.586 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/1.066, allocations: 0.6335 MB / 1.213 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/1.066, allocations: 7.938 kB / 1.213 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/1.066, allocations: 0 / 1.213 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/1.066, allocations: 0 / 1.213 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/1.069, allocations: 1.496 MB / 1.215 GB, free: 344 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.069, allocations: 4 kB / 1.215 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/1.07, allocations: 79.89 kB / 1.215 GB, free: 260 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.068e-05/1.07, allocations: 8 kB / 1.215 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-05/1.07, allocations: 12 kB / 1.215 GB, free: 240 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.164e-05/1.07, allocations: 4 kB / 1.215 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/1.07, allocations: 8.344 kB / 1.215 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/1.072, allocations: 1.025 MB / 1.216 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004584/1.072, allocations: 200 kB / 1.216 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/1.072, allocations: 12 kB / 1.216 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006934/1.073, allocations: 51.89 kB / 1.216 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.073, allocations: 39.83 kB / 1.216 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/1.073, allocations: 16.03 kB / 1.216 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008095/1.074, allocations: 499 kB / 1.217 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.3e-07/1.074, allocations: 0 / 1.217 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009625/1.075, allocations: 203.8 kB / 1.217 GB, free: 14.13 MB / 0.9825 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.002734/1.078, allocations: 1.695 MB / 1.219 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001098/1.079, allocations: 496.2 kB / 1.219 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.079, allocations: 0 / 1.219 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005281/1.079, allocations: 272.9 kB / 1.219 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/1.082, allocations: 0.4902 MB / 1.22 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/1.095, allocations: 6.828 MB / 1.226 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/1.096, allocations: 0.9613 MB / 1.227 GB, free: 3.086 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0008456/1.097, allocations: 178.4 kB / 1.228 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004955/1.097, allocations: 279.3 kB / 1.228 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of SimCode: time 1.403e-06/1.097, allocations: 0 / 1.228 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7711/1.868, allocations: 22.12 MB / 1.249 GB, free: 287.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/1.868, allocations: 279.7 kB / 1.25 GB, free: 287.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/4.463, allocations: 3.062 kB / 1.25 GB, free: 287.1 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches