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.001768/0.001768, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002316/0.002316, allocations: 219.7 kB / 23.03 MB, free: 4.945 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.673/1.673, allocations: 230.6 MB / 256.8 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.878/2.878, allocations: 476.8 MB / 0.7715 GB, free: 3.906 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Splice,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Splice",fmuType="cs",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.002059/0.002059, allocations: 62.31 kB / 1.118 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.407, allocations: 170 MB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003762/0.4108, allocations: 1.504 MB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.4124, allocations: 0.6834 MB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.4125, allocations: 7.938 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.274e-05/0.4126, allocations: 7.922 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.668e-05/0.4127, allocations: 7.938 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.4132, allocations: 95.66 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.4134, allocations: 43.84 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.4135, allocations: 8 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.4137, allocations: 23.91 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.741e-05/0.4137, allocations: 15.92 kB / 1.286 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.4138, allocations: 4 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.414, allocations: 123.8 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.4141, allocations: 11.92 kB / 1.287 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.4141, allocations: 11.94 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.4144, allocations: 101.1 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4144, allocations: 0 / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4144, allocations: 0 / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.4144, allocations: 0 / 1.287 GB, free: 8.145 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.0005342/0.4149, allocations: 294 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.415, allocations: 12.03 kB / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.557e-05/0.415, allocations: 192 / 1.287 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.204e-05/0.415, allocations: 34.75 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.4152, allocations: 12.92 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.4155, allocations: 130.4 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.4155, allocations: 384 / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.4155, allocations: 12.25 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.4157, allocations: 57.61 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4157, allocations: 0 / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.4157, allocations: 0 / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.4157, allocations: 0 / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.4158, allocations: 31.98 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.4163, allocations: 247.8 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.4164, allocations: 26.58 kB / 1.287 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/0.4164, allocations: 16.91 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/0.4167, allocations: 35.97 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.4167, allocations: 30.56 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 3.316e-06/0.4167, allocations: 4 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002923/0.417, allocations: 73.56 kB / 1.288 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.4171, allocations: 51.41 kB / 1.288 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.4172, allocations: 125.6 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.4172, allocations: 25.7 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.4173, allocations: 100.1 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.148e-05/0.4173, allocations: 7.938 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.4174, allocations: 17.7 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.4176, allocations: 318.8 kB / 1.288 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.985e-05/0.4176, allocations: 16.11 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.512e-05/0.4176, allocations: 8 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.693e-05/0.4177, allocations: 28.84 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4177, allocations: 0 / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001404/0.4179, allocations: 57.58 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4179, allocations: 4 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4179, allocations: 0 / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.4179, allocations: 7.984 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.151e-05/0.418, allocations: 8.094 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.418, allocations: 0 / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.022e-05/0.418, allocations: 3.938 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.418, allocations: 7.984 kB / 1.288 GB, free: 6.184 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 0.0001029/0.4181, allocations: 113.8 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.4182, allocations: 7.953 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.4184, allocations: 65.23 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4184, allocations: 0 / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4184, allocations: 32 / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4184, allocations: 11.94 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.4186, allocations: 128.8 kB / 1.289 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4186, allocations: 4 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.505e-05/0.4186, allocations: 4 kB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4186, allocations: 0 / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.4186, allocations: 7.922 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4186, allocations: 0 / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4186, allocations: 0 / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.4188, allocations: 151.5 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.675e-05/0.4189, allocations: 11.98 kB / 1.289 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.4189, allocations: 3.984 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.961e-05/0.4189, allocations: 0 / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.419, allocations: 4 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.419, allocations: 3.938 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.831e-05/0.4191, allocations: 103.2 kB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4191, allocations: 3.938 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002586/0.4193, allocations: 15.94 kB / 1.289 GB, free: 5.48 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.000629/0.42, allocations: 0.6929 MB / 1.29 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.4201, allocations: 23.98 kB / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4201, allocations: 0 / 1.29 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.204e-05/0.4202, allocations: 15.94 kB / 1.29 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.4204, allocations: 7.922 kB / 1.29 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.422, allocations: 1.317 MB / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.492e-05/0.4221, allocations: 67.33 kB / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.4221, allocations: 7.984 kB / 1.291 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.4222, allocations: 15.44 kB / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of SimCode: time 8.61e-07/0.4222, allocations: 0 / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.4459, allocations: 1.824 MB / 1.293 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.03, allocations: 11.31 kB / 1.293 GB, free: 1.523 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: 19.217229780042544]