Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001361/0.001361, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0017/0.0017, allocations: 193.5 kB / 16.14 MB, free: 6.691 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.457/1.457, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 437 MB / 0.7099 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.89 kB / 0.8685 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7144/0.7156, allocations: 151.6 MB / 1.017 GB, free: 2.961 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.1916/0.9073, allocations: 163.9 MB / 1.177 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005178/0.9125, allocations: 5.699 MB / 1.182 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001677/0.9127, allocations: 7.938 kB / 1.182 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003886/0.9132, allocations: 79.58 kB / 1.182 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001898/0.9134, allocations: 47.67 kB / 1.182 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.9135, allocations: 39.91 kB / 1.182 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.9138, allocations: 259 kB / 1.183 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.914, allocations: 87.17 kB / 1.183 GB, free: 8.211 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.9142, allocations: 95.64 kB / 1.183 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.9144, allocations: 75.62 kB / 1.183 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.9144, allocations: 4 kB / 1.183 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 2.602e-05/0.9144, allocations: 11.94 kB / 1.183 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.9145, allocations: 23.92 kB / 1.183 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.795e-05/0.9146, allocations: 67.61 kB / 1.183 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.9148, allocations: 147.5 kB / 1.183 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9148, allocations: 4 kB / 1.183 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9148, allocations: 0 / 1.183 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.9148, allocations: 0 / 1.183 GB, free: 7.789 MB / 0.9356 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.000616/0.9154, allocations: 438.8 kB / 1.184 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.9155, allocations: 8.031 kB / 1.184 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.9155, allocations: 27.66 kB / 1.184 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.9158, allocations: 246.5 kB / 1.184 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.9158, allocations: 8 kB / 1.184 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.9159, allocations: 12 kB / 1.184 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.9161, allocations: 166.1 kB / 1.184 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.9161, allocations: 0 / 1.184 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.124e-05/0.9161, allocations: 11.98 kB / 1.184 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.9162, allocations: 4 kB / 1.184 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.9163, allocations: 79.77 kB / 1.184 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008194/0.9171, allocations: 1.148 MB / 1.185 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.981e-05/0.9172, allocations: 169.1 kB / 1.185 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/0.9172, allocations: 84.14 kB / 1.185 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.9173, allocations: 79.22 kB / 1.186 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.9173, allocations: 109.8 kB / 1.186 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.9173, allocations: 0 / 1.186 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.018e-05/0.9174, allocations: 49.45 kB / 1.186 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.488e-05/0.9175, allocations: 182.1 kB / 1.186 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.9178, allocations: 245 kB / 1.186 GB, free: 4.504 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.9178, allocations: 29.7 kB / 1.186 GB, free: 4.469 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.9179, allocations: 135.8 kB / 1.186 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.9179, allocations: 0 / 1.186 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.9179, allocations: 25.62 kB / 1.186 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.9181, allocations: 330.8 kB / 1.187 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.541e-05/0.9181, allocations: 11.98 kB / 1.187 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.9182, allocations: 63.72 kB / 1.187 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.197e-05/0.9182, allocations: 56.17 kB / 1.187 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.9182, allocations: 0 / 1.187 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001501/0.9184, allocations: 85.36 kB / 1.187 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.9184, allocations: 8 kB / 1.187 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.9184, allocations: 0 / 1.187 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.9185, allocations: 4.156 kB / 1.187 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.891e-05/0.9185, allocations: 11.94 kB / 1.187 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.9186, allocations: 4 kB / 1.187 GB, free: 3.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.482e-05/0.9186, allocations: 11.84 kB / 1.187 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-06/0.9187, allocations: 4 kB / 1.187 GB, free: 3.664 MB / 0.9356 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.0001285/0.9188, allocations: 201.1 kB / 1.187 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.9189, allocations: 120.7 kB / 1.187 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.9189, allocations: 129.8 kB / 1.187 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.309e-05/0.919, allocations: 180.3 kB / 1.187 GB, free: 3.02 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.211e-05/0.9191, allocations: 188.2 kB / 1.188 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-05/0.9191, allocations: 176.3 kB / 1.188 GB, free: 2.648 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.9194, allocations: 449.1 kB / 1.188 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.259e-05/0.9195, allocations: 116.9 kB / 1.188 GB, free: 2.031 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.797e-05/0.9195, allocations: 105 kB / 1.188 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.975e-05/0.9196, allocations: 184.1 kB / 1.189 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.184e-05/0.9196, allocations: 180.3 kB / 1.189 GB, free: 1.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.535e-05/0.9197, allocations: 184.2 kB / 1.189 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.127e-05/0.9198, allocations: 180.2 kB / 1.189 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.9199, allocations: 323.8 kB / 1.189 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.92, allocations: 198 kB / 1.19 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.953e-05/0.9201, allocations: 188.2 kB / 1.19 GB, free: 440 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.9202, allocations: 105 kB / 1.19 GB, free: 328 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.9203, allocations: 180.3 kB / 1.19 GB, free: 140 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.9203, allocations: 108.9 kB / 1.19 GB, free: 24 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001815/0.9205, allocations: 184.5 kB / 1.19 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9205, allocations: 0 / 1.19 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000257/0.9208, allocations: 24 kB / 1.19 GB, free: 15.82 MB / 0.9512 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.0001208/0.9209, allocations: 174.5 kB / 1.191 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.37e-05/0.921, allocations: 23.92 kB / 1.191 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.921, allocations: 4.312 kB / 1.191 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.921, allocations: 0 / 1.191 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006434/0.9217, allocations: 0.5754 MB / 1.191 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.9222, allocations: 349.3 kB / 1.191 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.9225, allocations: 0.7204 MB / 1.192 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.588e-05/0.9226, allocations: 25.53 kB / 1.192 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.9226, allocations: 19.38 kB / 1.192 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of SimCode: time 3.3e-07/0.9226, allocations: 0 / 1.192 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of Templates: time 0.004346/0.927, allocations: 1.846 MB / 1.194 GB, free: 12.05 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches