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.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.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.001248/0.001248, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.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.482/2.482, allocations: 390.2 MB / 0.6646 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7562/0.7574, allocations: 140.3 MB / 0.9496 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001872/0.7594, allocations: 0.582 MB / 0.9502 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.7607, allocations: 1.248 MB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.708e-05/0.7608, allocations: 1.281 kB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.335e-05/0.7608, allocations: 0 / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.201e-06/0.7608, allocations: 0 / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.7612, allocations: 72.5 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.613e-05/0.7612, allocations: 1.531 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.7613, allocations: 1.375 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.284e-05/0.7613, allocations: 1.688 kB / 0.9514 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.455e-05/0.7613, allocations: 3.984 kB / 0.9514 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.635e-06/0.7613, allocations: 0 / 0.9514 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.7616, allocations: 95.8 kB / 0.9515 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.388e-06/0.7616, allocations: 3.984 kB / 0.9515 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.7616, allocations: 5.344 kB / 0.9515 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.7617, allocations: 51.34 kB / 0.9516 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7617, allocations: 4 kB / 0.9516 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7617, allocations: 1.375 kB / 0.9516 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.7618, allocations: 0 / 0.9516 GB, free: 7.672 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.0002408/0.762, allocations: 329.3 kB / 0.9519 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.762, allocations: 9.094 kB / 0.9519 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.7621, allocations: 2.219 kB / 0.9519 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.864e-05/0.7621, allocations: 160.4 kB / 0.9521 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.7621, allocations: 384 / 0.9521 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.7621, allocations: 1.719 kB / 0.9521 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.183e-05/0.7622, allocations: 39.38 kB / 0.9521 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7622, allocations: 0 / 0.9521 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.7623, allocations: 1.469 kB / 0.9521 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.7623, allocations: 0 / 0.9521 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.928e-05/0.7623, allocations: 5.328 kB / 0.9521 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.959e-05/0.7624, allocations: 147 kB / 0.9523 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.318e-05/0.7624, allocations: 20.95 kB / 0.9523 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/0.7624, allocations: 9.734 kB / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004244/0.7629, allocations: 0.5671 MB / 0.9528 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.7629, allocations: 35.62 kB / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.7629, allocations: 0 / 0.9529 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001515/0.7631, allocations: 35.59 kB / 0.9529 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.7631, allocations: 55.34 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.43e-05/0.7631, allocations: 93.98 kB / 0.9531 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.183e-06/0.7632, allocations: 27.14 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.035e-05/0.7632, allocations: 84.14 kB / 0.9532 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.7632, allocations: 3.906 kB / 0.9532 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.7632, allocations: 12.03 kB / 0.9532 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.855e-05/0.7633, allocations: 316.2 kB / 0.9535 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-06/0.7633, allocations: 3.938 kB / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.162e-06/0.7633, allocations: 1.5 kB / 0.9535 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.7633, allocations: 15.3 kB / 0.9535 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.7633, allocations: 1.156 kB / 0.9535 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.449e-05/0.7634, allocations: 38.5 kB / 0.9535 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.7634, allocations: 12.97 kB / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.7634, allocations: 1.219 kB / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.7634, allocations: 0 / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.999e-05/0.7635, allocations: 1.375 kB / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.7635, allocations: 1.156 kB / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.7635, allocations: 0 / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.7635, allocations: 5.094 kB / 0.9536 GB, free: 5.391 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 3.897e-05/0.7636, allocations: 107 kB / 0.9537 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-06/0.7636, allocations: 5.281 kB / 0.9537 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.633e-05/0.7637, allocations: 45.11 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.7637, allocations: 1.281 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.7637, allocations: 0 / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.7637, allocations: 0 / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.98e-05/0.7637, allocations: 151.1 kB / 0.9539 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7637, allocations: 1.219 kB / 0.9539 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.442e-05/0.7638, allocations: 1.25 kB / 0.9539 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7638, allocations: 7.875 kB / 0.9539 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.438e-06/0.7638, allocations: 1.281 kB / 0.9539 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.7638, allocations: 0 / 0.9539 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7638, allocations: 1.281 kB / 0.9539 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.023e-05/0.7638, allocations: 63.47 kB / 0.9539 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.666e-05/0.7639, allocations: 79.08 kB / 0.954 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.7639, allocations: 5.188 kB / 0.954 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.766e-06/0.7639, allocations: 0 / 0.954 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/0.7639, allocations: 1.188 kB / 0.954 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.7639, allocations: 0 / 0.954 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.838e-06/0.7639, allocations: 75.28 kB / 0.9541 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.7639, allocations: 1.344 kB / 0.9541 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001921/0.7641, allocations: 9.125 kB / 0.9541 GB, free: 4.773 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.0001326/0.7643, allocations: 110.5 kB / 0.9542 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.364e-05/0.7643, allocations: 11.75 kB / 0.9542 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7643, allocations: 0 / 0.9542 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.745e-06/0.7644, allocations: 2.719 kB / 0.9542 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.7645, allocations: 9.938 kB / 0.9542 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001465/0.7646, allocations: 73.64 kB / 0.9543 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.23e-05/0.7647, allocations: 0.682 MB / 0.955 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.829e-05/0.7648, allocations: 9.75 kB / 0.955 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.032e-05/0.7648, allocations: 7.438 kB / 0.955 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7648, allocations: 1.438 kB / 0.955 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of Templates: time 0.002012/0.7668, allocations: 291.3 kB / 0.9553 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/jenkins/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