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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 111.8 kB / 18.14 MB, free: 3.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002076/0.002076, allocations: 202 kB / 21.43 MB, free: 0.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 225.6 MB / 250.2 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.834/2.834, allocations: 476.7 MB / 0.7637 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> 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: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 67.89 kB / 1.108 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9732/0.9753, allocations: 168.7 MB / 1.273 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003461/0.9788, allocations: 1.527 MB / 1.274 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.9801, allocations: 0.6521 MB / 1.275 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.9802, allocations: 4 kB / 1.275 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.761e-05/0.9802, allocations: 7.922 kB / 1.275 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.959e-05/0.9803, allocations: 11.92 kB / 1.275 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.9807, allocations: 75.73 kB / 1.275 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.9808, allocations: 39.8 kB / 1.275 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.9809, allocations: 9.828 kB / 1.275 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.913e-05/0.981, allocations: 15.98 kB / 1.275 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.9811, allocations: 23.84 kB / 1.275 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.9811, allocations: 4 kB / 1.275 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.9813, allocations: 95.91 kB / 1.275 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.9813, allocations: 11.97 kB / 1.275 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.9814, allocations: 19.88 kB / 1.275 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.9816, allocations: 79.72 kB / 1.275 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.9816, allocations: 0 / 1.275 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.707e-06/0.9816, allocations: 7.984 kB / 1.275 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.9816, allocations: 3.938 kB / 1.275 GB, free: 1.699 MB / 0.9669 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.0006252/0.9822, allocations: 363.2 kB / 1.276 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.9823, allocations: 8.031 kB / 1.276 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/0.9823, allocations: 42.69 kB / 1.276 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.9823, allocations: 8.891 kB / 1.276 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.9825, allocations: 168.3 kB / 1.276 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.505e-06/0.9825, allocations: 384 / 1.276 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.9825, allocations: 4.375 kB / 1.276 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.9826, allocations: 57.8 kB / 1.276 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.9827, allocations: 0 / 1.276 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.9827, allocations: 0 / 1.276 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.9827, allocations: 4 kB / 1.276 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.202e-05/0.9828, allocations: 27.97 kB / 1.276 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.9832, allocations: 292.7 kB / 1.276 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.309e-05/0.9833, allocations: 30.56 kB / 1.276 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.9833, allocations: 16.91 kB / 1.276 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005674/0.9839, allocations: 0.5544 MB / 1.277 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.9839, allocations: 42.5 kB / 1.277 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.9839, allocations: 0 / 1.277 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002543/0.9842, allocations: 57.67 kB / 1.277 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.9842, allocations: 59.34 kB / 1.277 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.9843, allocations: 121.8 kB / 1.277 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.9843, allocations: 29.69 kB / 1.277 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.9844, allocations: 92.27 kB / 1.277 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.811e-05/0.9844, allocations: 7.953 kB / 1.277 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.9844, allocations: 13.72 kB / 1.277 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.9846, allocations: 326.8 kB / 1.278 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.326e-05/0.9846, allocations: 4 kB / 1.278 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.105e-05/0.9847, allocations: 15.98 kB / 1.278 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.474e-05/0.9847, allocations: 32.84 kB / 1.278 GB, free: 15 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9847, allocations: 0 / 1.278 GB, free: 15 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000137/0.9849, allocations: 57.58 kB / 1.278 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.9849, allocations: 4 kB / 1.278 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.9849, allocations: 4 kB / 1.278 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.9849, allocations: 0 / 1.278 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.573e-05/0.985, allocations: 7.984 kB / 1.278 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.985, allocations: 0 / 1.278 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.206e-05/0.985, allocations: 0 / 1.278 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.9851, allocations: 11.97 kB / 1.278 GB, free: 14.91 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 8.476e-05/0.9851, allocations: 109.8 kB / 1.278 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.9852, allocations: 7.953 kB / 1.278 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001873/0.9854, allocations: 69.14 kB / 1.278 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.9854, allocations: 0 / 1.278 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.9854, allocations: 0 / 1.278 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.9854, allocations: 0 / 1.278 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.9856, allocations: 165.6 kB / 1.278 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.9856, allocations: 4.031 kB / 1.278 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.059e-05/0.9856, allocations: 7.984 kB / 1.278 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.9856, allocations: 4 kB / 1.278 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.9856, allocations: 4 kB / 1.278 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.9856, allocations: 0 / 1.278 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.9856, allocations: 0 / 1.278 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.9858, allocations: 159.4 kB / 1.278 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.9859, allocations: 85.08 kB / 1.278 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.9859, allocations: 0 / 1.278 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.349e-05/0.986, allocations: 4 kB / 1.278 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.986, allocations: 7.984 kB / 1.278 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.986, allocations: 0 / 1.278 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.245e-05/0.9861, allocations: 99.2 kB / 1.278 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.9861, allocations: 0 / 1.278 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002262/0.9863, allocations: 8 kB / 1.278 GB, free: 14.09 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.0005812/0.9869, allocations: 0.6934 MB / 1.279 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.987, allocations: 27.92 kB / 1.279 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.987, allocations: 3.938 kB / 1.279 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.775e-05/0.9871, allocations: 15.98 kB / 1.279 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.9873, allocations: 4.922 kB / 1.279 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.9888, allocations: 1.32 MB / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.9892, allocations: 0.6807 MB / 1.281 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.9892, allocations: 8.125 kB / 1.281 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.9893, allocations: 15.44 kB / 1.281 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9893, allocations: 0 / 1.281 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/1.016, allocations: 1.512 MB / 1.283 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/9.034, allocations: 10.98 kB / 1.283 GB, free: 9.758 MB / 0.9825 GB " [Timeout remaining time 291] (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_2/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: 15.26416412787512]