Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.001713/0.001713, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001939/0.001939, allocations: 216.3 kB / 22.25 MB, free: 5.105 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.234/3.234, allocations: 0.49 GB / 0.7951 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",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.003089/0.003089, allocations: 64.77 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3548, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00175/0.3566, allocations: 0.5945 MB / 1.326 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.3584, allocations: 1.284 MB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.33e-05/0.3584, allocations: 4 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.03e-05/0.3585, allocations: 0 / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.049e-06/0.3585, allocations: 0 / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.3589, allocations: 71.75 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 3.788e-05/0.3589, allocations: 0 / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.758e-05/0.3589, allocations: 4 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.164e-05/0.3589, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.747e-05/0.359, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.255e-06/0.359, allocations: 3.938 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003095/0.3593, allocations: 115.9 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.3593, allocations: 7.984 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.843e-05/0.3593, allocations: 0 / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.3595, allocations: 56.16 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3595, allocations: 3.938 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3595, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3595, allocations: 0 / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003244/0.3598, allocations: 258.2 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3599, allocations: 8.031 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.3599, allocations: 34.75 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.437e-05/0.3599, allocations: 0.9375 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.435e-05/0.36, allocations: 110.5 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.36, allocations: 384 / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.243e-06/0.36, allocations: 384 / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.572e-05/0.3601, allocations: 37.77 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.3601, allocations: 0 / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-06/0.3601, allocations: 0 / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3601, allocations: 0 / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.921e-05/0.3601, allocations: 3.938 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.3603, allocations: 120.8 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.486e-05/0.3603, allocations: 18.61 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.3603, allocations: 16.84 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003293/0.3607, allocations: 39.97 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/0.3607, allocations: 34.5 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3607, allocations: 4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.3609, allocations: 37.64 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.3609, allocations: 51.41 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.684e-05/0.3609, allocations: 89.86 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.361, allocations: 29.83 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.361, allocations: 84.12 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.361, allocations: 7.953 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.361, allocations: 13.72 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3612, allocations: 310.8 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.3612, allocations: 4 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-06/0.3612, allocations: 0 / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.3612, allocations: 12.86 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3612, allocations: 0 / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.512e-05/0.3613, allocations: 37.72 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3613, allocations: 14.12 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.3613, allocations: 4 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3613, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.668e-05/0.3613, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.3614, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.989e-06/0.3614, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3614, allocations: 4 kB / 1.329 GB, free: 13.79 MB / 1.029 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 (1): * Single equations (assignments): 1 * 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.715e-05/0.3614, allocations: 106.4 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.3614, allocations: 3.938 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.763e-05/0.3615, allocations: 44.69 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3615, allocations: 7.938 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3615, allocations: 4 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.3616, allocations: 0 / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.527e-05/0.3616, allocations: 112.8 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3616, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.57e-05/0.3617, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.3617, allocations: 7.922 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.3617, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3617, allocations: 7.906 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3617, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.489e-05/0.3617, allocations: 57.14 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.3617, allocations: 7.922 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.3618, allocations: 4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.117e-05/0.3618, allocations: 3.984 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-06/0.3618, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.3618, allocations: 0 / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.054e-05/0.3618, allocations: 75.28 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3618, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001961/0.362, allocations: 15.88 kB / 1.33 GB, free: 13.25 MB / 1.029 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 (1): * Single equations (assignments): 1 * 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.0004534/0.3625, allocations: 0.6125 MB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.715e-05/0.3625, allocations: 7.984 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3625, allocations: 0 / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.807e-06/0.3625, allocations: 3.938 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000129/0.3627, allocations: 5.719 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003049/0.363, allocations: 106.5 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.437e-05/0.363, allocations: 59.34 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.952e-05/0.363, allocations: 8.141 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.3631, allocations: 7.438 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3631, allocations: 0 / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.3899, allocations: 1.65 MB / 1.332 GB, free: 10.83 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.34, allocations: 3.938 kB / 1.332 GB, free: 10.83 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.227582633000566]