Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Splice.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.001902/0.001902, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.003254/0.003254, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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 1.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.846/2.846, allocations: 476 MB / 0.7699 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 67.84 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3373, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002769/0.3401, allocations: 1.516 MB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.3414, allocations: 0.6874 MB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/0.3414, allocations: 0 / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.3415, allocations: 3.938 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.006e-05/0.3415, allocations: 3.938 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004106/0.3419, allocations: 95.66 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.342, allocations: 43.78 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.54e-05/0.3421, allocations: 8 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.3422, allocations: 19.92 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.126e-05/0.3423, allocations: 19.92 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.3423, allocations: 4 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002201/0.3425, allocations: 111.9 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.3425, allocations: 11.92 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.3426, allocations: 15.92 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.3428, allocations: 101.3 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3428, allocations: 4 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3428, allocations: 0 / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3428, allocations: 0 / 1.285 GB, free: 9.785 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004448/0.3432, allocations: 290 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.3433, allocations: 8.031 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.3433, allocations: 50.67 kB / 1.285 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.3435, allocations: 8.938 kB / 1.285 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.3437, allocations: 118.4 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.3437, allocations: 8.375 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.3437, allocations: 384 / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3438, allocations: 61.78 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.3438, allocations: 0 / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3438, allocations: 7.984 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.3438, allocations: 0 / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.465e-05/0.3439, allocations: 31.92 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.3443, allocations: 239.9 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.661e-05/0.3444, allocations: 34.56 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.3444, allocations: 12.92 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/0.3447, allocations: 31.97 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.3447, allocations: 42.48 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3447, allocations: 4 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002389/0.3449, allocations: 61.64 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.345, allocations: 51.41 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.3451, allocations: 130.1 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3451, allocations: 25.7 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.3452, allocations: 84.14 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.3452, allocations: 15.88 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.3452, allocations: 13.72 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3454, allocations: 322.7 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-05/0.3454, allocations: 16.11 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-05/0.3454, allocations: 11.94 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.694e-05/0.3455, allocations: 24.84 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3455, allocations: 0 / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001276/0.3456, allocations: 57.62 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3457, allocations: 8 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3457, allocations: 0 / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3457, allocations: 96 / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.877e-05/0.3457, allocations: 15.94 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.3457, allocations: 0 / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.3458, allocations: 4 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3458, allocations: 7.922 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.872e-05/0.3459, allocations: 110.9 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.3459, allocations: 7.891 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.3461, allocations: 61.3 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.3461, allocations: 4 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3461, allocations: 4.031 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3461, allocations: 0 / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.3462, allocations: 140.7 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3462, allocations: 0 / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.275e-05/0.3463, allocations: 7.984 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3463, allocations: 0 / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.3463, allocations: 0 / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3463, allocations: 4 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3463, allocations: 0 / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.3465, allocations: 147.4 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.3465, allocations: 19.97 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.3465, allocations: 0 / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.209e-05/0.3466, allocations: 4 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.3466, allocations: 0 / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.3466, allocations: 0 / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.823e-05/0.3466, allocations: 100.3 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3466, allocations: 0 / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002484/0.3469, allocations: 23.92 kB / 1.287 GB, free: 7.133 MB / 0.9825 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 (2): * Single equations (assignments): 2 * 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.0005236/0.3474, allocations: 0.7046 MB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.3475, allocations: 19.98 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3475, allocations: 0 / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.833e-05/0.3476, allocations: 11.98 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.3478, allocations: 8 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.3491, allocations: 1.323 MB / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.89e-05/0.3492, allocations: 67.34 kB / 1.29 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.504e-05/0.3492, allocations: 4 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.3493, allocations: 15.42 kB / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.3493, allocations: 0 / 1.29 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.3775, allocations: 2.164 MB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.74, allocations: 4.812 kB / 1.292 GB, free: 2.82 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Splice.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.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: 18.521324309986085]