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.001606/0.001606, allocations: 108.2 kB / 16.45 MB, free: 6.445 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.001779/0.001779, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.496/1.496, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.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.853/2.853, allocations: 476.7 MB / 0.7611 GB, free: 15.66 MB / 0.6075 GB " [Timeout remaining time 176] 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.001956/0.001956, allocations: 67.89 kB / 1.104 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.069, allocations: 168.7 MB / 1.269 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002566/1.071, allocations: 1.502 MB / 1.27 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001046/1.072, allocations: 0.6658 MB / 1.271 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.277e-05/1.073, allocations: 1.062 kB / 1.271 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/1.073, allocations: 5.438 kB / 1.271 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.058e-05/1.073, allocations: 8.125 kB / 1.271 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/1.073, allocations: 78.47 kB / 1.271 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.172e-05/1.073, allocations: 35.11 kB / 1.271 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.847e-05/1.073, allocations: 16.61 kB / 1.271 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.63e-05/1.073, allocations: 20.12 kB / 1.271 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.493e-05/1.073, allocations: 16.2 kB / 1.271 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/1.073, allocations: 6.875 kB / 1.271 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/1.074, allocations: 103 kB / 1.271 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/1.074, allocations: 6.734 kB / 1.271 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/1.074, allocations: 17.42 kB / 1.271 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/1.074, allocations: 86.27 kB / 1.271 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/1.074, allocations: 0 / 1.271 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.242e-06/1.074, allocations: 0 / 1.271 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.239e-06/1.074, allocations: 0 / 1.271 GB, free: 6.059 MB / 0.9981 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.0003705/1.074, allocations: 365.7 kB / 1.272 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.074, allocations: 10.22 kB / 1.272 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.651e-05/1.074, allocations: 32.41 kB / 1.272 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.544e-05/1.074, allocations: 11.36 kB / 1.272 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.732e-05/1.074, allocations: 169.9 kB / 1.272 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/1.074, allocations: 17.2 kB / 1.272 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/1.074, allocations: 2.656 kB / 1.272 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/1.074, allocations: 57.17 kB / 1.272 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/1.074, allocations: 0 / 1.272 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/1.074, allocations: 0.9688 kB / 1.272 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.074, allocations: 0.7812 kB / 1.272 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.149e-05/1.075, allocations: 23.17 kB / 1.272 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003116/1.075, allocations: 288.1 kB / 1.272 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.108e-05/1.075, allocations: 31.12 kB / 1.272 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.579e-05/1.075, allocations: 16.69 kB / 1.272 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003525/1.075, allocations: 0.5595 MB / 1.273 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.158e-05/1.075, allocations: 31.25 kB / 1.273 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/1.075, allocations: 0.875 kB / 1.273 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0002306/1.076, allocations: 67.09 kB / 1.273 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/1.076, allocations: 52.25 kB / 1.273 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/1.076, allocations: 119.9 kB / 1.273 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/1.076, allocations: 25.83 kB / 1.273 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.635e-05/1.076, allocations: 92.06 kB / 1.273 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/1.076, allocations: 14.08 kB / 1.273 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/1.076, allocations: 12.83 kB / 1.273 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.681e-05/1.076, allocations: 322.2 kB / 1.273 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.275e-05/1.076, allocations: 7.219 kB / 1.273 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.501e-05/1.076, allocations: 12.33 kB / 1.273 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.471e-05/1.076, allocations: 29.17 kB / 1.274 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.076, allocations: 4 kB / 1.274 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001117/1.076, allocations: 60.7 kB / 1.274 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/1.076, allocations: 5.406 kB / 1.274 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/1.076, allocations: 0.6094 kB / 1.274 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/1.076, allocations: 0.8438 kB / 1.274 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.934e-05/1.076, allocations: 6.328 kB / 1.274 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/1.076, allocations: 0.9375 kB / 1.274 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.386e-05/1.076, allocations: 6.328 kB / 1.274 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/1.076, allocations: 5.328 kB / 1.274 GB, free: 3.582 MB / 0.9981 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 4.366e-05/1.076, allocations: 117.1 kB / 1.274 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/1.076, allocations: 6.172 kB / 1.274 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/1.076, allocations: 61.97 kB / 1.274 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/1.076, allocations: 0.7812 kB / 1.274 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/1.076, allocations: 0.7188 kB / 1.274 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.076, allocations: 0.9844 kB / 1.274 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/1.077, allocations: 173.4 kB / 1.274 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.077, allocations: 4.828 kB / 1.274 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/1.077, allocations: 5.25 kB / 1.274 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.077, allocations: 1.297 kB / 1.274 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-06/1.077, allocations: 0.7188 kB / 1.274 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/1.077, allocations: 4.688 kB / 1.274 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.077, allocations: 0.875 kB / 1.274 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/1.077, allocations: 160.4 kB / 1.274 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/1.077, allocations: 83.48 kB / 1.274 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/1.077, allocations: 0.6562 kB / 1.274 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.457e-05/1.077, allocations: 2.062 kB / 1.274 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/1.077, allocations: 6.906 kB / 1.274 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/1.077, allocations: 0.7188 kB / 1.274 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.296e-05/1.077, allocations: 102.7 kB / 1.274 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.077, allocations: 0 / 1.274 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002388/1.077, allocations: 9.766 kB / 1.274 GB, free: 2.863 MB / 0.9981 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.0003317/1.078, allocations: 0.6934 MB / 1.275 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001351/1.078, allocations: 22.8 kB / 1.275 GB, free: 2.188 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.078, allocations: 4.031 kB / 1.275 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-05/1.078, allocations: 18.19 kB / 1.275 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/1.078, allocations: 8.219 kB / 1.275 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/1.079, allocations: 1.311 MB / 1.276 GB, free: 16.95 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/1.08, allocations: 0.681 MB / 1.277 GB, free: 16.26 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.632e-05/1.08, allocations: 7.484 kB / 1.277 GB, free: 16.25 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/1.08, allocations: 18.61 kB / 1.277 GB, free: 16.24 MB / 1.014 GB Notification: Performance of SimCode: time 4.81e-07/1.08, allocations: 0 / 1.277 GB, free: 16.24 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/1.103, allocations: 1.526 MB / 1.278 GB, free: 15.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.217/9.32, allocations: 3.156 kB / 1.278 GB, free: 15.82 MB / 1.014 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.784040864091367]