Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001077/0.001077, 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.001265/0.001265, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8749/0.8749, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.674/1.674, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.FlowSplitter_u,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.459e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.FlowSplitter_u): time 0.6305/0.6305, allocations: 146.5 MB / 1.094 GB, free: 38.9 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003281/0.6338, allocations: 5.162 MB / 1.099 GB, free: 38.21 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.634, allocations: 10.62 kB / 1.099 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.6343, allocations: 104.9 kB / 1.099 GB, free: 38.14 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002021/0.6345, allocations: 54.36 kB / 1.099 GB, free: 38.13 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001152/0.6347, allocations: 43.8 kB / 1.099 GB, free: 38.11 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.6349, allocations: 220.1 kB / 1.099 GB, free: 38.06 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.6351, allocations: 57.28 kB / 1.099 GB, free: 38.04 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.6353, allocations: 136.7 kB / 1.099 GB, free: 38.01 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.6354, allocations: 61.53 kB / 1.099 GB, free: 38 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.6354, allocations: 11 kB / 1.099 GB, free: 38 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.6354, allocations: 8.406 kB / 1.099 GB, free: 38 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.6355, allocations: 32.81 kB / 1.099 GB, free: 37.98 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.6355, allocations: 49.19 kB / 1.099 GB, free: 37.97 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.6357, allocations: 156.7 kB / 1.099 GB, free: 37.93 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6357, allocations: 0 / 1.099 GB, free: 37.93 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.195e-06/0.6357, allocations: 0 / 1.099 GB, free: 37.93 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.6357, allocations: 7.406 kB / 1.099 GB, free: 37.93 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.0004587/0.6361, allocations: 370 kB / 1.1 GB, free: 37.6 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.6362, allocations: 14.47 kB / 1.1 GB, free: 37.6 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.6362, allocations: 44.3 kB / 1.1 GB, free: 37.55 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.6363, allocations: 16.5 kB / 1.1 GB, free: 37.54 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.6365, allocations: 188 kB / 1.1 GB, free: 37.38 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.6365, allocations: 9.188 kB / 1.1 GB, free: 37.38 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.6365, allocations: 12.12 kB / 1.1 GB, free: 37.38 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.6367, allocations: 221.8 kB / 1.1 GB, free: 37.18 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6367, allocations: 6.938 kB / 1.1 GB, free: 37.18 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.6367, allocations: 5.203 kB / 1.1 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6367, allocations: 3.031 kB / 1.1 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.71e-05/0.6368, allocations: 64.28 kB / 1.1 GB, free: 37.15 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004848/0.6373, allocations: 1.093 MB / 1.101 GB, free: 36.11 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.267e-05/0.6373, allocations: 173.1 kB / 1.102 GB, free: 35.93 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.284e-05/0.6373, allocations: 86.55 kB / 1.102 GB, free: 35.85 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.6373, allocations: 75.28 kB / 1.102 GB, free: 35.77 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.6374, allocations: 108.4 kB / 1.102 GB, free: 35.66 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 1.873e-06/0.6374, allocations: 4 kB / 1.102 GB, free: 35.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 5.957e-05/0.6374, allocations: 53.17 kB / 1.102 GB, free: 35.61 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.6375, allocations: 178.1 kB / 1.102 GB, free: 35.41 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.6376, allocations: 260.6 kB / 1.102 GB, free: 35.25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-06/0.6376, allocations: 25.7 kB / 1.102 GB, free: 35.22 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.6377, allocations: 133.8 kB / 1.102 GB, free: 35.11 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.6377, allocations: 0 / 1.102 GB, free: 35.11 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.6377, allocations: 21.41 kB / 1.103 GB, free: 35.09 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.468e-05/0.6377, allocations: 322.8 kB / 1.103 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.6378, allocations: 12.72 kB / 1.103 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.086e-05/0.6378, allocations: 168.6 kB / 1.103 GB, free: 34.56 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.079e-05/0.6378, allocations: 57.12 kB / 1.103 GB, free: 34.51 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.6378, allocations: 0 / 1.103 GB, free: 34.51 MB / 0.9948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001164/0.638, allocations: 92.45 kB / 1.103 GB, free: 34.45 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.638, allocations: 5.656 kB / 1.103 GB, free: 34.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.638, allocations: 7.938 kB / 1.103 GB, free: 34.44 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.638, allocations: 2.406 kB / 1.103 GB, free: 34.44 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.858e-05/0.638, allocations: 7.781 kB / 1.103 GB, free: 34.44 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.6381, allocations: 5.062 kB / 1.103 GB, free: 34.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/0.6381, allocations: 13.27 kB / 1.103 GB, free: 34.43 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.6381, allocations: 2.781 kB / 1.103 GB, free: 34.43 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 6.078e-05/0.6382, allocations: 213.8 kB / 1.103 GB, free: 34.23 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.6382, allocations: 120.4 kB / 1.103 GB, free: 34.11 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.6382, allocations: 127.4 kB / 1.104 GB, free: 33.99 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.6382, allocations: 183.1 kB / 1.104 GB, free: 33.81 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.6383, allocations: 180.3 kB / 1.104 GB, free: 33.62 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.6383, allocations: 183.1 kB / 1.104 GB, free: 33.44 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.6384, allocations: 412.3 kB / 1.105 GB, free: 33.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.6384, allocations: 107.8 kB / 1.105 GB, free: 32.91 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.206e-06/0.6384, allocations: 104.2 kB / 1.105 GB, free: 32.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/0.6384, allocations: 180.7 kB / 1.105 GB, free: 32.62 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.6384, allocations: 184.1 kB / 1.105 GB, free: 32.44 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.279e-05/0.6384, allocations: 179.2 kB / 1.105 GB, free: 32.26 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.466e-05/0.6384, allocations: 187.6 kB / 1.105 GB, free: 32.07 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.051e-05/0.6385, allocations: 318.4 kB / 1.106 GB, free: 31.75 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.6385, allocations: 126.8 kB / 1.106 GB, free: 31.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.6386, allocations: 184.2 kB / 1.106 GB, free: 31.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.558e-05/0.6386, allocations: 107.5 kB / 1.106 GB, free: 31.33 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.6386, allocations: 182.2 kB / 1.106 GB, free: 31.15 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.6386, allocations: 104.9 kB / 1.106 GB, free: 31.04 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.412e-05/0.6387, allocations: 183 kB / 1.107 GB, free: 30.94 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.6387, allocations: 0 / 1.107 GB, free: 30.94 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001617/0.6389, allocations: 23.92 kB / 1.107 GB, free: 30.93 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.0001561/0.6391, allocations: 0.8165 MB / 1.107 GB, free: 30.12 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 8.353e-05/0.6391, allocations: 29.58 kB / 1.107 GB, free: 30.11 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6391, allocations: 3.891 kB / 1.107 GB, free: 30.11 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.41e-07/0.6391, allocations: 0 / 1.107 GB, free: 30.11 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003417/0.6395, allocations: 0.5006 MB / 1.108 GB, free: 29.65 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.641, allocations: 2.062 MB / 1.11 GB, free: 28.02 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.6411, allocations: 104.4 kB / 1.11 GB, free: 27.94 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 8.479e-05/0.6412, allocations: 23.11 kB / 1.11 GB, free: 27.93 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.102e-05/0.6412, allocations: 40.34 kB / 1.11 GB, free: 27.91 MB / 0.9948 GB Notification: Performance of SimCode: time 6.61e-07/0.6412, allocations: 0 / 1.11 GB, free: 27.91 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02093/0.6622, allocations: 4.796 MB / 1.115 GB, free: 26.78 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.262/7.924, allocations: 12.56 kB / 1.115 GB, free: 26.77 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Validation_FlowSplitter_u.fmu > Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.FlowSplitter_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_FlowSplitter_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.941176350228488]