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.009906/0.009906, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001851/0.001851, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.94/2.94, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 67.89 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3503, allocations: 157.4 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001831/0.3522, allocations: 0.5797 MB / 1.208 GB, free: 9.039 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.3541, allocations: 1.252 MB / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.744e-05/0.3541, allocations: 0 / 1.21 GB, free: 7.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.462e-05/0.3542, allocations: 4 kB / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-06/0.3542, allocations: 0 / 1.21 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.3546, allocations: 67.75 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.615e-05/0.3547, allocations: 0 / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.3547, allocations: 3.938 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.807e-05/0.3548, allocations: 3.984 kB / 1.21 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.834e-05/0.3548, allocations: 7.938 kB / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.3548, allocations: 0 / 1.21 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002846/0.3551, allocations: 103.8 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.137e-05/0.3551, allocations: 0 / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.3552, allocations: 4 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.3553, allocations: 51.94 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3553, allocations: 0 / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3553, allocations: 0 / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.3554, allocations: 0 / 1.21 GB, free: 7.527 MB / 0.9669 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.0003505/0.3557, allocations: 323.6 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3558, allocations: 8.625 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.3558, allocations: 0.9375 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.3559, allocations: 164.4 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3559, allocations: 4.375 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.3559, allocations: 4.375 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.3561, allocations: 34.02 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3561, allocations: 0 / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.3561, allocations: 0 / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3561, allocations: 3.938 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.344e-05/0.3561, allocations: 4 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.3563, allocations: 141.7 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.384e-05/0.3563, allocations: 22.56 kB / 1.21 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.075e-05/0.3564, allocations: 12.95 kB / 1.21 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006315/0.357, allocations: 0.5583 MB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3571, allocations: 38.48 kB / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.3571, allocations: 0 / 1.211 GB, free: 5.934 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001485/0.3572, allocations: 45.64 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.3573, allocations: 51.41 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.509e-05/0.3573, allocations: 89.86 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.3573, allocations: 25.7 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.3574, allocations: 80.14 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.3574, allocations: 3.906 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.3574, allocations: 13.72 kB / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3575, allocations: 310.8 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.04e-05/0.3576, allocations: 4.125 kB / 1.212 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.105e-06/0.3576, allocations: 3.984 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.542e-05/0.3576, allocations: 16.8 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3576, allocations: 0 / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.86e-05/0.3577, allocations: 33.7 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3577, allocations: 7.938 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3577, allocations: 3.938 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3577, allocations: 0 / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.909e-05/0.3578, allocations: 4.094 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3578, allocations: 4 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.252e-05/0.3578, allocations: 0 / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.3578, allocations: 0 / 1.212 GB, free: 5.188 MB / 0.9669 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.8e-05/0.3579, allocations: 109.8 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.116e-05/0.3579, allocations: 11.92 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.358, allocations: 44.77 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.358, allocations: 4.031 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3581, allocations: 0 / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3581, allocations: 0 / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.878e-05/0.3582, allocations: 145.7 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3582, allocations: 4 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.576e-05/0.3582, allocations: 0 / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3582, allocations: 3.938 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.3582, allocations: 0 / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3582, allocations: 0 / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3582, allocations: 4 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.052e-05/0.3583, allocations: 65.06 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.3583, allocations: 77.11 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.3584, allocations: 7.875 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.138e-05/0.3584, allocations: 4 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.3584, allocations: 0 / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.3584, allocations: 0 / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.3584, allocations: 75.78 kB / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3584, allocations: 0 / 1.212 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000196/0.3586, allocations: 12.03 kB / 1.212 GB, free: 4.531 MB / 0.9669 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 (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 Backend phase and start with SimCode phase: time 0.0001794/0.3588, allocations: 113 kB / 1.212 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.626e-05/0.3589, allocations: 8 kB / 1.212 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3589, allocations: 0 / 1.212 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.618e-06/0.359, allocations: 4 kB / 1.212 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.3591, allocations: 3.938 kB / 1.212 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001982/0.3593, allocations: 92.98 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.3596, allocations: 0.669 MB / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.049e-05/0.3596, allocations: 0 / 1.213 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.3596, allocations: 7.438 kB / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of SimCode: time 2.71e-07/0.3596, allocations: 0 / 1.213 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of Templates: time 0.002454/0.3621, allocations: 308.8 kB / 1.213 GB, free: 3.277 MB / 0.9669 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/jenkins/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