Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009644/0.0009644, allocations: 83.59 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008905/0.0008905, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9374/0.9374, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.834/1.834, allocations: 377.8 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.728e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001245/0.001272, allocations: 0.6121 MB / 0.8122 GB, free: 1.113 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.002649, allocations: 1.32 MB / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.621e-05/0.002666, allocations: 1.031 kB / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.002683, allocations: 0 / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.483e-06/0.00269, allocations: 0 / 0.8135 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003898/0.00308, allocations: 72.41 kB / 0.8136 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.399e-05/0.003134, allocations: 1.688 kB / 0.8136 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.288e-05/0.003177, allocations: 4 kB / 0.8136 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.006e-05/0.003207, allocations: 7.984 kB / 0.8136 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.003259, allocations: 3.984 kB / 0.8136 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.003273, allocations: 1.531 kB / 0.8136 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002985/0.003572, allocations: 99.89 kB / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.003582, allocations: 0 / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.003603, allocations: 0 / 0.8137 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001529/0.003756, allocations: 77.16 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.185e-06/0.003759, allocations: 4 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.012e-06/0.00376, allocations: 0 / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.003766, allocations: 0 / 0.8137 GB, free: 15.52 MB / 0.7761 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.0003605/0.004126, allocations: 361.9 kB / 0.8141 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.004164, allocations: 11.97 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.004199, allocations: 0.9375 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.535e-05/0.004254, allocations: 104.6 kB / 0.8142 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.004264, allocations: 4.375 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.004272, allocations: 0.9688 kB / 0.8142 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.752e-05/0.00436, allocations: 27.2 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.004366, allocations: 192 / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.004376, allocations: 0.9375 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.004384, allocations: 7.938 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.441e-05/0.004399, allocations: 5.359 kB / 0.8143 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.713e-05/0.004496, allocations: 104.6 kB / 0.8144 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.178e-05/0.004538, allocations: 35.03 kB / 0.8144 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.526e-05/0.004553, allocations: 10.28 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002588/0.004812, allocations: 40.03 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.004833, allocations: 33.39 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.004834, allocations: 0 / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001234/0.004957, allocations: 42.88 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.004985, allocations: 55.34 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.761e-05/0.005023, allocations: 142.8 kB / 0.8147 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.005033, allocations: 25.7 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.005061, allocations: 132.5 kB / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.005089, allocations: 0 / 0.8148 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.005111, allocations: 19.38 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.005218, allocations: 492.1 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.005228, allocations: 0.5 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-06/0.005235, allocations: 4.594 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.238e-05/0.005268, allocations: 12.45 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.00527, allocations: 0 / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.428e-05/0.005324, allocations: 42.8 kB / 0.8154 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.005339, allocations: 4 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.005344, allocations: 0 / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.005357, allocations: 0.5312 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.769e-05/0.005414, allocations: 5.125 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.005422, allocations: 3.938 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.117e-06/0.005431, allocations: 352 / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.892e-06/0.005438, allocations: 0.9375 kB / 0.8154 GB, free: 13.64 MB / 0.7761 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.36e-05/0.005502, allocations: 160.5 kB / 0.8156 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-06/0.005507, allocations: 4.828 kB / 0.8156 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.249e-05/0.0056, allocations: 42.88 kB / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.005601, allocations: 0 / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.005605, allocations: 0 / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.00561, allocations: 11.92 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.968e-05/0.00567, allocations: 108.6 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.005673, allocations: 6.781 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.256e-05/0.005685, allocations: 3.938 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.005689, allocations: 4 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.005694, allocations: 0 / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.005697, allocations: 0 / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.005698, allocations: 0 / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.981e-05/0.005758, allocations: 68.39 kB / 0.8158 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-06/0.005763, allocations: 5.453 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.769e-06/0.005773, allocations: 0 / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.279e-06/0.005778, allocations: 4 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.005795, allocations: 4 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.005797, allocations: 0.5 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.304e-05/0.00583, allocations: 125 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.00583, allocations: 0 / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001326/0.005963, allocations: 11.94 kB / 0.8159 GB, free: 13.02 MB / 0.7761 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.0001444/0.006107, allocations: 111.2 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.552e-05/0.006183, allocations: 16.97 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.006185, allocations: 0 / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.239e-05/0.006197, allocations: 12.78 kB / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.295e-05/0.00629, allocations: 0 / 0.8161 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001765/0.006467, allocations: 91.94 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.782e-05/0.006494, allocations: 52.02 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.919e-05/0.006514, allocations: 8.234 kB / 0.8162 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.006528, allocations: 8.5 kB / 0.8162 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of SimCode: time 7.72e-07/0.006529, allocations: 0 / 0.8162 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of Templates: time 0.002041/0.008569, allocations: 457.8 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunction.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.911475936882198]