Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001731/0.001731, allocations: 113.5 kB / 16.42 MB, free: 6.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002005/0.002005, allocations: 186.6 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.733/2.733, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 71.89 kB / 1.07 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174/1.175, allocations: 159.9 MB / 1.226 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003044/1.178, allocations: 1.495 MB / 1.228 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001192/1.18, allocations: 0.6544 MB / 1.228 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/1.18, allocations: 0 / 1.228 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/1.18, allocations: 3.938 kB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.318e-05/1.18, allocations: 11.94 kB / 1.228 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/1.18, allocations: 75.73 kB / 1.229 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.266e-05/1.18, allocations: 47.78 kB / 1.229 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/1.18, allocations: 15.98 kB / 1.229 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.994e-05/1.18, allocations: 8 kB / 1.229 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.447e-05/1.18, allocations: 19.86 kB / 1.229 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/1.18, allocations: 8 kB / 1.229 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/1.181, allocations: 95.89 kB / 1.229 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/1.181, allocations: 11.98 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/1.181, allocations: 15.88 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/1.181, allocations: 92.25 kB / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.181, allocations: 0 / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.525e-06/1.181, allocations: 0 / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.34e-06/1.181, allocations: 3.938 kB / 1.229 GB, free: 10.93 MB / 0.9512 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.000456/1.181, allocations: 363.2 kB / 1.229 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/1.181, allocations: 16.03 kB / 1.229 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/1.182, allocations: 4.891 kB / 1.229 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/1.182, allocations: 172.3 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/1.182, allocations: 384 / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/1.182, allocations: 4.375 kB / 1.229 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/1.182, allocations: 57.98 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/1.182, allocations: 0 / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/1.182, allocations: 3.984 kB / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.182, allocations: 0 / 1.229 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/1.182, allocations: 31.98 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/1.182, allocations: 284.7 kB / 1.23 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.529e-05/1.183, allocations: 31.73 kB / 1.23 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/1.183, allocations: 16.91 kB / 1.23 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006144/1.183, allocations: 0.5622 MB / 1.23 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/1.183, allocations: 30.56 kB / 1.23 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/1.183, allocations: 0 / 1.23 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.00026/1.184, allocations: 61.61 kB / 1.23 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.965e-05/1.184, allocations: 55.41 kB / 1.23 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/1.184, allocations: 121.8 kB / 1.231 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/1.184, allocations: 29.83 kB / 1.231 GB, free: 8.785 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/1.184, allocations: 88.12 kB / 1.231 GB, free: 8.695 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/1.184, allocations: 12.02 kB / 1.231 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/1.184, allocations: 13.66 kB / 1.231 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.184, allocations: 326.8 kB / 1.231 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.418e-05/1.184, allocations: 8 kB / 1.231 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.587e-05/1.184, allocations: 11.98 kB / 1.231 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.664e-05/1.184, allocations: 32.84 kB / 1.231 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.184, allocations: 0 / 1.231 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001276/1.184, allocations: 53.64 kB / 1.231 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.184, allocations: 9.969 kB / 1.231 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/1.184, allocations: 0 / 1.231 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/1.184, allocations: 4 kB / 1.231 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.033e-05/1.184, allocations: 7.984 kB / 1.231 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/1.184, allocations: 0 / 1.231 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/1.185, allocations: 4.031 kB / 1.231 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/1.185, allocations: 8 kB / 1.231 GB, free: 8.191 MB / 0.9512 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.554e-05/1.185, allocations: 111.6 kB / 1.231 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/1.185, allocations: 7.953 kB / 1.231 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/1.185, allocations: 69.09 kB / 1.231 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/1.185, allocations: 0 / 1.231 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/1.185, allocations: 0 / 1.231 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.817e-05/1.185, allocations: 85.09 kB / 1.231 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/1.185, allocations: 7.969 kB / 1.231 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.016e-05/1.185, allocations: 0 / 1.231 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/1.185, allocations: 4 kB / 1.231 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001759/1.185, allocations: 133 kB / 1.232 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002005/1.185, allocations: 226.8 kB / 1.232 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.577e-05/1.186, allocations: 19.98 kB / 1.232 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.9e-05/1.186, allocations: 95.2 kB / 1.232 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of Backend: time 4.11e-07/1.186, allocations: 4 kB / 1.232 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004734/1.186, allocations: 113.4 kB / 1.232 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004653/1.187, allocations: 0.5814 MB / 1.233 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of Templates: time 0.00325/1.19, allocations: 0.7755 MB / 1.233 GB, free: 5.867 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches