Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 111.3 kB / 16.41 MB, free: 6.453 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.001565/0.001565, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.436/1.436, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.727/2.727, allocations: 461.9 MB / 0.7355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 64.12 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.046, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.00182/1.048, allocations: 0.5813 MB / 1.209 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001683/1.05, allocations: 1.256 MB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.998e-05/1.05, allocations: 0 / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.699e-05/1.05, allocations: 0 / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.492e-06/1.05, allocations: 0 / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/1.05, allocations: 67.75 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.586e-05/1.051, allocations: 4 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/1.051, allocations: 0 / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.342e-05/1.051, allocations: 0 / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.51e-05/1.051, allocations: 7.938 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.917e-06/1.051, allocations: 4 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002715/1.051, allocations: 99.88 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.888e-06/1.051, allocations: 0 / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/1.051, allocations: 4 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/1.051, allocations: 51.94 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.051, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/1.051, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.819e-06/1.051, allocations: 0 / 1.21 GB, free: 11.52 MB / 0.9356 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.0003058/1.051, allocations: 327.6 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/1.052, allocations: 16.03 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/1.052, allocations: 0.9375 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.69e-05/1.052, allocations: 160.4 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/1.052, allocations: 384 / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.104e-05/1.052, allocations: 384 / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.651e-05/1.052, allocations: 37.95 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/1.052, allocations: 0 / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/1.052, allocations: 3.984 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/1.052, allocations: 0 / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.282e-05/1.052, allocations: 4 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/1.052, allocations: 149.7 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.603e-05/1.052, allocations: 14.58 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.274e-05/1.052, allocations: 8.797 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005748/1.053, allocations: 0.5701 MB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/1.053, allocations: 38.5 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 2.765e-06/1.053, allocations: 3.984 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001404/1.053, allocations: 29.7 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/1.053, allocations: 51.41 kB / 1.212 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.597e-05/1.053, allocations: 97.78 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/1.053, allocations: 29.7 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/1.053, allocations: 80.14 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/1.053, allocations: 12.02 kB / 1.212 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/1.053, allocations: 13.72 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.053, allocations: 310.8 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.337e-05/1.053, allocations: 4 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-06/1.053, allocations: 3.938 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.731e-05/1.053, allocations: 8.859 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.053, allocations: 0 / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.476e-05/1.053, allocations: 37.69 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/1.053, allocations: 8.094 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.053, allocations: 7.938 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/1.053, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.135e-05/1.053, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/1.053, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.086e-05/1.053, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/1.053, allocations: 8 kB / 1.212 GB, free: 9.164 MB / 0.9356 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.378e-05/1.054, allocations: 105.8 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-06/1.054, allocations: 3.938 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.219e-05/1.054, allocations: 44.75 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.054, allocations: 4 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/1.054, allocations: 0 / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/1.054, allocations: 81.11 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/1.054, allocations: 0 / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.799e-06/1.054, allocations: 0 / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/1.054, allocations: 0 / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.998e-05/1.054, allocations: 116.9 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001125/1.054, allocations: 206.8 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.821e-05/1.054, allocations: 3.984 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.255e-05/1.054, allocations: 75.28 kB / 1.213 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of Backend: time 5.11e-07/1.054, allocations: 3.938 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004232/1.054, allocations: 106.5 kB / 1.213 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0003639/1.055, allocations: 0.5292 MB / 1.214 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of Templates: time 0.002673/1.057, allocations: 0.5041 MB / 1.214 GB, free: 7.281 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches