Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u") translateModel(Buildings.Fluid.FMI.Validation.FlowSplitter_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floSpl.outlet.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007387/0.007387, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001374/0.001374, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.329/2.329, allocations: 390.2 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.89 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.086, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.2432/1.329, allocations: 166.1 MB / 1.25 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005861/1.335, allocations: 5.704 MB / 1.256 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002871/1.336, allocations: 7.938 kB / 1.256 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004789/1.336, allocations: 99.3 kB / 1.256 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002459/1.337, allocations: 63.61 kB / 1.256 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/1.337, allocations: 31.95 kB / 1.256 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000333/1.337, allocations: 211.2 kB / 1.256 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/1.337, allocations: 87.12 kB / 1.256 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/1.338, allocations: 99.62 kB / 1.256 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/1.338, allocations: 83.58 kB / 1.256 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/1.338, allocations: 8 kB / 1.256 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.223e-05/1.338, allocations: 12 kB / 1.256 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.246e-05/1.338, allocations: 19.92 kB / 1.256 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.221e-05/1.338, allocations: 75.61 kB / 1.256 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/1.338, allocations: 165.2 kB / 1.257 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/1.338, allocations: 4 kB / 1.257 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.914e-06/1.338, allocations: 0 / 1.257 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.344e-06/1.338, allocations: 0 / 1.257 GB, free: 0.9609 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0006442/1.339, allocations: 438.9 kB / 1.257 GB, free: 496 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.339, allocations: 8.031 kB / 1.257 GB, free: 488 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/1.339, allocations: 15.81 kB / 1.257 GB, free: 472 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/1.339, allocations: 254.5 kB / 1.257 GB, free: 176 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/1.339, allocations: 8.234 kB / 1.257 GB, free: 168 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/1.339, allocations: 12 kB / 1.257 GB, free: 156 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/1.34, allocations: 184.6 kB / 1.257 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/1.34, allocations: 0 / 1.257 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/1.34, allocations: 7.984 kB / 1.257 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.34, allocations: 0 / 1.257 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/1.34, allocations: 75.84 kB / 1.258 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008794/1.341, allocations: 1.16 MB / 1.259 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.624e-05/1.341, allocations: 165.1 kB / 1.259 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/1.341, allocations: 80.14 kB / 1.259 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/1.341, allocations: 79.22 kB / 1.259 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/1.341, allocations: 109.8 kB / 1.259 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 2.735e-06/1.341, allocations: 3.938 kB / 1.259 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.381e-05/1.341, allocations: 49.45 kB / 1.259 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/1.341, allocations: 182.1 kB / 1.259 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/1.341, allocations: 245 kB / 1.26 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/1.341, allocations: 25.7 kB / 1.26 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/1.341, allocations: 139.8 kB / 1.26 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/1.341, allocations: 4 kB / 1.26 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/1.341, allocations: 21.7 kB / 1.26 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.342, allocations: 326.8 kB / 1.26 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/1.342, allocations: 8 kB / 1.26 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.428e-05/1.342, allocations: 71.66 kB / 1.26 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.628e-05/1.342, allocations: 52.22 kB / 1.26 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.342, allocations: 0 / 1.26 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001617/1.342, allocations: 89.44 kB / 1.26 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/1.342, allocations: 4 kB / 1.26 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.342, allocations: 4 kB / 1.26 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.342, allocations: 0 / 1.26 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/1.342, allocations: 15.92 kB / 1.26 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/1.342, allocations: 0 / 1.26 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.625e-05/1.342, allocations: 15.84 kB / 1.26 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/1.342, allocations: 4 kB / 1.26 GB, free: 12.82 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001164/1.342, allocations: 205.2 kB / 1.261 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/1.342, allocations: 128.7 kB / 1.261 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.588e-05/1.342, allocations: 125.8 kB / 1.261 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.874e-05/1.342, allocations: 176.3 kB / 1.261 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.699e-05/1.343, allocations: 180.2 kB / 1.261 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.413e-05/1.343, allocations: 184.3 kB / 1.261 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/1.343, allocations: 453.1 kB / 1.262 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.891e-05/1.343, allocations: 108.9 kB / 1.262 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.915e-05/1.343, allocations: 105 kB / 1.262 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.977e-05/1.343, allocations: 184.2 kB / 1.262 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.057e-05/1.343, allocations: 176.3 kB / 1.262 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.999e-05/1.343, allocations: 184.4 kB / 1.262 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-05/1.343, allocations: 184.3 kB / 1.263 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/1.343, allocations: 323.6 kB / 1.263 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.386e-05/1.343, allocations: 197.8 kB / 1.263 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/1.344, allocations: 184.2 kB / 1.263 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/1.344, allocations: 109 kB / 1.263 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.688e-05/1.344, allocations: 176.3 kB / 1.264 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/1.344, allocations: 104.9 kB / 1.264 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000157/1.344, allocations: 188.5 kB / 1.264 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.344, allocations: 3.938 kB / 1.264 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000241/1.344, allocations: 20 kB / 1.264 GB, free: 8.984 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0001368/1.344, allocations: 175.1 kB / 1.264 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001046/1.344, allocations: 23.92 kB / 1.264 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.344, allocations: 0 / 1.264 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/1.344, allocations: 0 / 1.264 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006085/1.345, allocations: 0.5199 MB / 1.265 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004579/1.346, allocations: 323.4 kB / 1.265 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/1.346, allocations: 0.7279 MB / 1.266 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.575e-05/1.346, allocations: 17.55 kB / 1.266 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/1.346, allocations: 15.44 kB / 1.266 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/1.346, allocations: 0 / 1.266 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of Templates: time 0.004649/1.351, allocations: 1.942 MB / 1.267 GB, free: 5.211 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches