Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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_9_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.006754/0.006755, allocations: 101.8 kB / 15.88 MB, free: 5.867 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.001633/0.001633, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.554/1.554, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.473/2.473, allocations: 390.2 MB / 0.6649 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 59.91 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7384/0.74, allocations: 140.4 MB / 0.9496 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002161/0.7422, allocations: 0.6461 MB / 0.9502 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.7436, allocations: 1.253 MB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.099e-05/0.7436, allocations: 0 / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.008e-05/0.7436, allocations: 0 / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.12e-06/0.7436, allocations: 0 / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.7439, allocations: 44.22 kB / 0.9515 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.254e-05/0.744, allocations: 2.5 kB / 0.9515 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.744, allocations: 5.188 kB / 0.9515 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.253e-05/0.744, allocations: 0 / 0.9515 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.7441, allocations: 9.438 kB / 0.9515 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.444e-06/0.7441, allocations: 0 / 0.9515 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002115/0.7443, allocations: 107.8 kB / 0.9516 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.717e-06/0.7443, allocations: 0 / 0.9516 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.672e-05/0.7444, allocations: 0 / 0.9516 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.544e-05/0.7445, allocations: 38.67 kB / 0.9516 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.7445, allocations: 0 / 0.9516 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.32e-07/0.7445, allocations: 1.5 kB / 0.9516 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.7445, allocations: 0 / 0.9516 GB, free: 7.75 MB / 0.7169 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.0002333/0.7447, allocations: 321.7 kB / 0.952 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.7448, allocations: 13.88 kB / 0.952 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.7448, allocations: 4.938 kB / 0.952 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.469e-05/0.7448, allocations: 160.4 kB / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.7449, allocations: 5.188 kB / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-06/0.7449, allocations: 1.719 kB / 0.9521 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.968e-05/0.745, allocations: 43.44 kB / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.745, allocations: 0 / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-06/0.745, allocations: 0 / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.745, allocations: 1.594 kB / 0.9522 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.745, allocations: 8.766 kB / 0.9522 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.75e-05/0.7451, allocations: 142.8 kB / 0.9523 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.928e-05/0.7451, allocations: 16.83 kB / 0.9523 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.7452, allocations: 14.03 kB / 0.9523 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004322/0.7456, allocations: 0.5552 MB / 0.9529 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/0.7456, allocations: 43.66 kB / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.954e-06/0.7456, allocations: 0 / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001298/0.7458, allocations: 42.78 kB / 0.953 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.7458, allocations: 52.62 kB / 0.953 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.366e-05/0.7458, allocations: 89.86 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.871e-06/0.7458, allocations: 25.7 kB / 0.9531 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.818e-06/0.7459, allocations: 81.39 kB / 0.9532 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.7459, allocations: 4.031 kB / 0.9532 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.7459, allocations: 16.25 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.966e-05/0.746, allocations: 310.8 kB / 0.9535 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-06/0.746, allocations: 1.312 kB / 0.9535 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-06/0.746, allocations: 1.125 kB / 0.9535 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.317e-05/0.746, allocations: 19.34 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.746, allocations: 1.25 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.327e-05/0.7461, allocations: 30.89 kB / 0.9536 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.7461, allocations: 13.19 kB / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.7461, allocations: 0 / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.7461, allocations: 1.562 kB / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.25e-05/0.7462, allocations: 1.156 kB / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.7462, allocations: 0 / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.7462, allocations: 1.281 kB / 0.9536 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.7462, allocations: 0 / 0.9536 GB, free: 5.48 MB / 0.7169 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 4.768e-05/0.7462, allocations: 111.1 kB / 0.9537 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-06/0.7463, allocations: 5.156 kB / 0.9537 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.925e-05/0.7463, allocations: 45.73 kB / 0.9537 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.7464, allocations: 1.344 kB / 0.9537 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.7464, allocations: 0 / 0.9537 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.7464, allocations: 0 / 0.9537 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.326e-05/0.7464, allocations: 147 kB / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.7464, allocations: 0 / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/0.7465, allocations: 2.719 kB / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7465, allocations: 7.875 kB / 0.9539 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.7465, allocations: 4.031 kB / 0.9539 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.7465, allocations: 1.219 kB / 0.9539 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7465, allocations: 4 kB / 0.9539 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.252e-05/0.7465, allocations: 63.69 kB / 0.954 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.7466, allocations: 79.22 kB / 0.954 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.7466, allocations: 5.188 kB / 0.954 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-06/0.7466, allocations: 3.938 kB / 0.9541 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.7466, allocations: 5 kB / 0.9541 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.7466, allocations: 1.438 kB / 0.9541 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.184e-05/0.7466, allocations: 75.28 kB / 0.9541 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7466, allocations: 0 / 0.9541 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001877/0.7468, allocations: 5.375 kB / 0.9541 GB, free: 4.852 MB / 0.7169 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.000137/0.747, allocations: 110 kB / 0.9542 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 5.899e-05/0.747, allocations: 8.5 kB / 0.9542 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.747, allocations: 0 / 0.9542 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.083e-06/0.7471, allocations: 6.594 kB / 0.9543 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.7472, allocations: 5.062 kB / 0.9543 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001453/0.7473, allocations: 105.5 kB / 0.9544 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.206e-05/0.7474, allocations: 0.6752 MB / 0.955 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.19e-05/0.7475, allocations: 7.438 kB / 0.955 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7475, allocations: 1.125 kB / 0.955 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of Templates: time 0.0016/0.7491, allocations: 434.3 kB / 0.9554 GB, free: 3.699 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches