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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001222/0.001222, allocations: 111.2 kB / 16.37 MB, free: 6.012 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.001147/0.001148, allocations: 191.5 kB / 17.3 MB, free: 5.613 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.235/1.235, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.269/2.269, allocations: 442.6 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 63.55 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2539, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002482/0.2564, allocations: 1.512 MB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009215/0.2573, allocations: 0.6434 MB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.2574, allocations: 0 / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.77e-05/0.2574, allocations: 7.922 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.415e-05/0.2575, allocations: 7.922 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.2578, allocations: 79.73 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.411e-05/0.2579, allocations: 39.8 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.843e-05/0.258, allocations: 12 kB / 1.029 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.166e-05/0.258, allocations: 23.91 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.649e-05/0.2581, allocations: 15.92 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.2581, allocations: 4 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.2583, allocations: 95.91 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.2583, allocations: 15.91 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.2584, allocations: 11.94 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.2585, allocations: 83.78 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2585, allocations: 3.984 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2585, allocations: 0 / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.2585, allocations: 8 kB / 1.029 GB, free: 15.45 MB / 0.8106 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.0003727/0.2589, allocations: 355.4 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.2589, allocations: 11.97 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.259, allocations: 8.844 kB / 1.03 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.395e-05/0.2591, allocations: 172.3 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.2591, allocations: 4.375 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.2591, allocations: 4.375 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.2593, allocations: 61.97 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.2593, allocations: 4 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.2593, allocations: 0 / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2593, allocations: 0 / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.302e-05/0.2594, allocations: 27.97 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000319/0.2597, allocations: 284.7 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.37e-05/0.2598, allocations: 30.56 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.2598, allocations: 20.92 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000421/0.2603, allocations: 0.5544 MB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.2603, allocations: 38.5 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2603, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000218/0.2605, allocations: 65.67 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.2606, allocations: 55.44 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.893e-05/0.2606, allocations: 121.8 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.2607, allocations: 29.7 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.2607, allocations: 96.06 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.2607, allocations: 3.906 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/0.2608, allocations: 13.72 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.585e-05/0.2609, allocations: 322.8 kB / 1.031 GB, free: 12.85 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.2609, allocations: 12 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.309e-05/0.2609, allocations: 11.98 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.203e-05/0.261, allocations: 28.78 kB / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.261, allocations: 0 / 1.031 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001055/0.2611, allocations: 57.59 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.2612, allocations: 4 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2612, allocations: 0 / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.2612, allocations: 4.094 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.2612, allocations: 8 kB / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.2613, allocations: 0 / 1.032 GB, free: 12.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.327e-05/0.2613, allocations: 7.984 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.2613, allocations: 0 / 1.032 GB, free: 12.71 MB / 0.8106 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.132e-05/0.2614, allocations: 121.7 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.2614, allocations: 4 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.2615, allocations: 69.14 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2616, allocations: 0 / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.2616, allocations: 0 / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.2616, allocations: 0 / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.2617, allocations: 169.5 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2617, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.2618, allocations: 11.92 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2618, allocations: 0 / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.2618, allocations: 4 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2618, allocations: 0 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2618, allocations: 0 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.262, allocations: 159.4 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.262, allocations: 85.02 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.262, allocations: 3.938 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.757e-05/0.2621, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.2621, allocations: 7.984 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.2621, allocations: 0 / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.908e-05/0.2622, allocations: 107.7 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2622, allocations: 0 / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002147/0.2624, allocations: 11.94 kB / 1.032 GB, free: 11.87 MB / 0.8106 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.0001226/0.2625, allocations: 107.2 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000116/0.2627, allocations: 23.98 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2627, allocations: 0 / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.406e-05/0.2627, allocations: 19.92 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.2629, allocations: 4.125 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.2632, allocations: 130.8 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.2634, allocations: 0.6807 MB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.2634, allocations: 7.984 kB / 1.033 GB, free: 10.84 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.798e-05/0.2634, allocations: 7.438 kB / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.2635, allocations: 0 / 1.033 GB, free: 10.83 MB / 0.8106 GB Notification: Performance of Templates: time 0.002252/0.2657, allocations: 0.4891 MB / 1.034 GB, free: 10.34 MB / 0.8106 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 -s cvode -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