Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008067/0.0008067, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009412/0.0009412, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9014/0.9014, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.74/1.74, allocations: 377.9 MB / 0.6221 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.981 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.566e-05, allocations: 2.281 kB / 0.981 GB, free: 2.625 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.654/0.654, allocations: 146.5 MB / 1.124 GB, free: 14.07 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004123/0.6582, allocations: 5.165 MB / 1.129 GB, free: 10.61 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002802/0.6584, allocations: 8.781 kB / 1.129 GB, free: 10.6 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004886/0.6589, allocations: 93.8 kB / 1.129 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.6592, allocations: 67.48 kB / 1.129 GB, free: 10.49 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.6594, allocations: 37.59 kB / 1.129 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.6597, allocations: 221.5 kB / 1.129 GB, free: 10.36 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.6598, allocations: 53.81 kB / 1.129 GB, free: 10.34 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.6601, allocations: 138.1 kB / 1.13 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.6603, allocations: 57.2 kB / 1.13 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.6603, allocations: 9.375 kB / 1.13 GB, free: 10.27 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.6603, allocations: 13.44 kB / 1.13 GB, free: 10.26 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.703e-05/0.6603, allocations: 34.58 kB / 1.13 GB, free: 10.24 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 5.589e-05/0.6604, allocations: 40.03 kB / 1.13 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.6606, allocations: 165.3 kB / 1.13 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.6606, allocations: 1.156 kB / 1.13 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6606, allocations: 0 / 1.13 GB, free: 10.16 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.6606, allocations: 0 / 1.13 GB, free: 10.16 MB / 0.9948 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.0005586/0.6612, allocations: 364 kB / 1.13 GB, free: 9.836 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.6613, allocations: 12.62 kB / 1.13 GB, free: 9.832 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.185e-05/0.6613, allocations: 45.84 kB / 1.13 GB, free: 9.785 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.381e-05/0.6613, allocations: 21.38 kB / 1.13 GB, free: 9.773 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.6616, allocations: 194.1 kB / 1.131 GB, free: 9.605 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.6616, allocations: 9.094 kB / 1.131 GB, free: 9.602 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.6616, allocations: 12.31 kB / 1.131 GB, free: 9.598 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.6619, allocations: 219.5 kB / 1.131 GB, free: 9.406 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.6619, allocations: 0.6562 kB / 1.131 GB, free: 9.406 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.6619, allocations: 9.875 kB / 1.131 GB, free: 9.402 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.6619, allocations: 3.812 kB / 1.131 GB, free: 9.402 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.662, allocations: 74.98 kB / 1.131 GB, free: 9.375 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/0.6626, allocations: 1.091 MB / 1.132 GB, free: 8.328 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.028e-05/0.6627, allocations: 167 kB / 1.132 GB, free: 8.156 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.708e-05/0.6627, allocations: 89.2 kB / 1.132 GB, free: 8.066 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.6627, allocations: 76.69 kB / 1.132 GB, free: 7.992 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.6627, allocations: 107.7 kB / 1.132 GB, free: 7.879 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 1.754e-06/0.6627, allocations: 0 / 1.132 GB, free: 7.879 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 7.61e-05/0.6628, allocations: 51.28 kB / 1.132 GB, free: 7.832 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.6629, allocations: 179.9 kB / 1.133 GB, free: 7.633 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.6631, allocations: 257.3 kB / 1.133 GB, free: 7.48 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.6631, allocations: 27.8 kB / 1.133 GB, free: 7.449 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.6631, allocations: 126.9 kB / 1.133 GB, free: 7.336 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.097e-06/0.6632, allocations: 1.25 kB / 1.133 GB, free: 7.336 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.6632, allocations: 24.69 kB / 1.133 GB, free: 7.312 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.079e-05/0.6632, allocations: 327.9 kB / 1.133 GB, free: 6.992 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.6632, allocations: 14.52 kB / 1.133 GB, free: 6.984 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.153e-05/0.6633, allocations: 168.4 kB / 1.133 GB, free: 6.785 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.86e-05/0.6633, allocations: 59.38 kB / 1.134 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6634, allocations: 0 / 1.134 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001398/0.6635, allocations: 85.02 kB / 1.134 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.6635, allocations: 6.031 kB / 1.134 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.6635, allocations: 5.094 kB / 1.134 GB, free: 6.668 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.6635, allocations: 7.156 kB / 1.134 GB, free: 6.664 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.6636, allocations: 7.172 kB / 1.134 GB, free: 6.664 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.6636, allocations: 2.094 kB / 1.134 GB, free: 6.664 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.753e-05/0.6637, allocations: 18.03 kB / 1.134 GB, free: 6.652 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.6637, allocations: 2.5 kB / 1.134 GB, free: 6.652 MB / 0.9948 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 7.265e-05/0.6637, allocations: 212.1 kB / 1.134 GB, free: 6.449 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.6638, allocations: 121.8 kB / 1.134 GB, free: 6.332 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.6638, allocations: 119.5 kB / 1.134 GB, free: 6.223 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.6638, allocations: 186.6 kB / 1.134 GB, free: 6.035 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/0.6638, allocations: 179.3 kB / 1.134 GB, free: 5.855 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.6639, allocations: 186.2 kB / 1.135 GB, free: 5.668 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.664, allocations: 414.2 kB / 1.135 GB, free: 5.246 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.664, allocations: 101.7 kB / 1.135 GB, free: 5.141 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.115e-05/0.664, allocations: 107.1 kB / 1.135 GB, free: 5.031 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-05/0.664, allocations: 183.2 kB / 1.135 GB, free: 4.848 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.6641, allocations: 186.9 kB / 1.136 GB, free: 4.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.592e-05/0.6641, allocations: 178.4 kB / 1.136 GB, free: 4.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.547e-05/0.6641, allocations: 178.3 kB / 1.136 GB, free: 4.301 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.733e-05/0.6642, allocations: 326.6 kB / 1.136 GB, free: 3.973 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.996e-05/0.6642, allocations: 123.5 kB / 1.136 GB, free: 3.852 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.6642, allocations: 187.7 kB / 1.136 GB, free: 3.664 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.896e-05/0.6643, allocations: 110.2 kB / 1.137 GB, free: 3.555 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.6643, allocations: 183.1 kB / 1.137 GB, free: 3.371 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.6643, allocations: 105.1 kB / 1.137 GB, free: 3.266 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001254/0.6644, allocations: 185 kB / 1.137 GB, free: 3.16 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6644, allocations: 0 / 1.137 GB, free: 3.16 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001736/0.6646, allocations: 20.62 kB / 1.137 GB, free: 3.16 MB / 0.9948 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.0001783/0.6648, allocations: 0.8186 MB / 1.138 GB, free: 2.34 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001011/0.6649, allocations: 27.25 kB / 1.138 GB, free: 2.328 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.6649, allocations: 4.062 kB / 1.138 GB, free: 2.324 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.703e-06/0.6649, allocations: 0.9062 kB / 1.138 GB, free: 2.324 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.6653, allocations: 0.4953 MB / 1.138 GB, free: 1.867 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.6668, allocations: 2.062 MB / 1.14 GB, free: 240 kB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.348e-05/0.6669, allocations: 100.5 kB / 1.14 GB, free: 168 kB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.954e-05/0.667, allocations: 23.75 kB / 1.141 GB, free: 160 kB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.6671, allocations: 44.45 kB / 1.141 GB, free: 124 kB / 0.9948 GB Notification: Performance of SimCode: time 9.72e-07/0.6671, allocations: 0 / 1.141 GB, free: 124 kB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02426/0.6913, allocations: 4.791 MB / 1.145 GB, free: 15 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.744/7.436, allocations: 3.531 kB / 1.145 GB, free: 15 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Validation.FlowSplitter_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.530830402858555]