Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_9_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_9_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.001657/0.001657, allocations: 104.9 kB / 16.4 MB, free: 5.977 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.001812/0.001812, allocations: 188.8 kB / 17.34 MB, free: 5.586 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.527/2.527, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 63.91 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8634/0.8649, allocations: 140.4 MB / 1.089 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002488/0.8674, allocations: 1.478 MB / 1.09 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009887/0.8684, allocations: 0.6572 MB / 1.091 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.8685, allocations: 0.75 kB / 1.091 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.8685, allocations: 8.734 kB / 1.091 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.99e-05/0.8686, allocations: 5.578 kB / 1.091 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003499/0.869, allocations: 82.16 kB / 1.091 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.991e-05/0.869, allocations: 39.42 kB / 1.091 GB, free: 4.207 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.8692, allocations: 12.7 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.34e-05/0.8692, allocations: 16.42 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.618e-05/0.8693, allocations: 20.36 kB / 1.091 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.8693, allocations: 7.219 kB / 1.091 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002035/0.8695, allocations: 98.02 kB / 1.091 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.8696, allocations: 11.48 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.652e-05/0.8696, allocations: 13.28 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.8698, allocations: 88.7 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8698, allocations: 4.875 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8698, allocations: 0.7969 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.8698, allocations: 0 / 1.091 GB, free: 4.102 MB / 0.8575 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.0003742/0.8702, allocations: 367.3 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.8702, allocations: 10.31 kB / 1.091 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.8703, allocations: 7.484 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.861e-05/0.8704, allocations: 172.3 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.8704, allocations: 2.562 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.8704, allocations: 2.062 kB / 1.092 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.8705, allocations: 61.36 kB / 1.092 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.473e-06/0.8706, allocations: 0 / 1.092 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.8706, allocations: 1.062 kB / 1.092 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.8706, allocations: 0 / 1.092 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.799e-05/0.8707, allocations: 32.34 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.871, allocations: 279.7 kB / 1.092 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.197e-05/0.8711, allocations: 35.03 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.826e-05/0.8712, allocations: 13.28 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/0.8716, allocations: 0.563 MB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.8716, allocations: 33.02 kB / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8716, allocations: 0 / 1.093 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002564/0.8719, allocations: 66.59 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.8719, allocations: 52.31 kB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.872, allocations: 127.4 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.872, allocations: 27.34 kB / 1.093 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.8721, allocations: 87.67 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.8721, allocations: 5.922 kB / 1.093 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.8721, allocations: 16.58 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.8722, allocations: 318.6 kB / 1.093 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.567e-05/0.8722, allocations: 15.48 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.557e-05/0.8723, allocations: 7.703 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.603e-05/0.8724, allocations: 29.31 kB / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8724, allocations: 0 / 1.093 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001411/0.8725, allocations: 64.06 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.8725, allocations: 6.438 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8726, allocations: 3.984 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.8726, allocations: 0.7188 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.8726, allocations: 5.906 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.8727, allocations: 4.594 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.189e-05/0.8727, allocations: 3.047 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.8727, allocations: 2.141 kB / 1.093 GB, free: 1.672 MB / 0.8575 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 6.072e-05/0.8728, allocations: 117.3 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.8728, allocations: 2.672 kB / 1.094 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.873, allocations: 65.92 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.873, allocations: 0 / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.873, allocations: 1.391 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.873, allocations: 8.688 kB / 1.094 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.8732, allocations: 173.1 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.8732, allocations: 0 / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/0.8732, allocations: 6.75 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.8732, allocations: 0.75 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.659e-06/0.8733, allocations: 1.422 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8733, allocations: 0 / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8733, allocations: 1 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.8734, allocations: 156.2 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.598e-05/0.8735, allocations: 82.28 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.8735, allocations: 2.125 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.074e-05/0.8735, allocations: 2.656 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.8736, allocations: 2.078 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.8736, allocations: 5.438 kB / 1.094 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.603e-05/0.8736, allocations: 97.91 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.8736, allocations: 0 / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002334/0.8739, allocations: 17.59 kB / 1.094 GB, free: 0.9531 MB / 0.8575 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.0001513/0.874, allocations: 114.6 kB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.8742, allocations: 22.44 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8742, allocations: 0 / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.634e-05/0.8742, allocations: 11.42 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.8745, allocations: 4.938 kB / 1.094 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000304/0.8748, allocations: 158.3 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.8749, allocations: 0.6815 MB / 1.095 GB, free: 4 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.875, allocations: 9.609 kB / 1.095 GB, free: 16 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.875, allocations: 0.6875 kB / 1.095 GB, free: 16 MB / 0.8731 GB Notification: Performance of Templates: time 0.002513/0.8775, allocations: 0.7265 MB / 1.096 GB, free: 15.93 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Splice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Splice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches