Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.000985/0.000985, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008569/0.0008569, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8709/0.8709, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.768/1.768, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.418e-05, allocations: 5.234 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001065/0.001089, allocations: 0.6227 MB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.002288, allocations: 1.3 MB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.169e-05/0.00231, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.002326, allocations: 7.875 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.929e-05/0.002345, allocations: 0 / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.002675, allocations: 87.61 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.322e-05/0.002728, allocations: 19.97 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.002768, allocations: 4 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.27e-05/0.0028, allocations: 15.92 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.00286, allocations: 15.97 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.002872, allocations: 0 / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002139/0.003086, allocations: 107.9 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.003097, allocations: 4 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.003117, allocations: 15.91 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001491/0.003266, allocations: 91.75 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003268, allocations: 0 / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003269, allocations: 7.938 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.003273, allocations: 0 / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003411/0.003614, allocations: 270.2 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.00365, allocations: 12.73 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.003682, allocations: 12.89 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.024e-05/0.003753, allocations: 105.8 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.003762, allocations: 384 / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.003784, allocations: 8.375 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.003899, allocations: 75.94 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.003908, allocations: 4.188 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.003918, allocations: 8.312 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.003923, allocations: 3.938 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.218e-05/0.003975, allocations: 27.92 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.004088, allocations: 105.3 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.373e-05/0.004182, allocations: 54.56 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.824e-05/0.00422, allocations: 32.83 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/0.004402, allocations: 43.95 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.004423, allocations: 34.56 kB / 1.004 GB, free: 9.746 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.004424, allocations: 0 / 1.004 GB, free: 9.746 MB / 0.9636 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.01034/0.01477, allocations: 4.166 MB / 1.008 GB, free: 5.477 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.0148, allocations: 55.41 kB / 1.008 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.639e-05/0.01486, allocations: 101.8 kB / 1.008 GB, free: 5.301 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5.151e-05/0.01491, allocations: 29.7 kB / 1.008 GB, free: 5.266 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.189e-05/0.01493, allocations: 80.14 kB / 1.008 GB, free: 5.184 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.064e-05/0.01501, allocations: 59.44 kB / 1.008 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.01516, allocations: 93.67 kB / 1.008 GB, free: 5.027 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.979e-05/0.01524, allocations: 326.7 kB / 1.009 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.01559, allocations: 307.9 kB / 1.009 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.01594, allocations: 309.4 kB / 1.009 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.01694, allocations: 0.7761 MB / 1.01 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.01694, allocations: 0 / 1.01 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009975/0.01794, allocations: 0.7905 MB / 1.011 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.01795, allocations: 12 kB / 1.011 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.01796, allocations: 0 / 1.011 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.01797, allocations: 0 / 1.011 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.01834, allocations: 99.88 kB / 1.011 GB, free: 2.414 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.01835, allocations: 0 / 1.011 GB, free: 2.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.01854, allocations: 8 kB / 1.011 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/0.0186, allocations: 39.97 kB / 1.011 GB, free: 2.367 MB / 0.9636 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 (18): * Single equations (assignments): 18 * 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 0.0001265/0.01872, allocations: 113.8 kB / 1.011 GB, free: 2.246 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.01877, allocations: 7.891 kB / 1.011 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.02058, allocations: 1.407 MB / 1.012 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.02058, allocations: 4 kB / 1.013 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.02058, allocations: 0 / 1.013 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.02059, allocations: 7.984 kB / 1.013 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.0224, allocations: 1.659 MB / 1.014 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.02241, allocations: 4.031 kB / 1.014 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.02275, allocations: 111.9 kB / 1.014 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.02275, allocations: 0 / 1.014 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.02279, allocations: 32 kB / 1.014 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.0228, allocations: 4 kB / 1.014 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.0228, allocations: 0 / 1.014 GB, free: 14.96 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.02435, allocations: 1.474 MB / 1.016 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.02436, allocations: 15.84 kB / 1.016 GB, free: 13.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.095e-05/0.02441, allocations: 8 kB / 1.016 GB, free: 13.44 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.02462, allocations: 8 kB / 1.016 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.52e-05/0.0247, allocations: 48.02 kB / 1.016 GB, free: 13.39 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-05/0.02475, allocations: 39.97 kB / 1.016 GB, free: 13.35 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 2.14e-05/0.02477, allocations: 75.28 kB / 1.016 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.02477, allocations: 0 / 1.016 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003943/0.02516, allocations: 183.6 kB / 1.016 GB, free: 13.09 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (y_comp) * 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 (40): * Single equations (assignments): 40 * 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.0003792/0.02554, allocations: 250.7 kB / 1.016 GB, free: 12.84 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0008103/0.02635, allocations: 0.7144 MB / 1.017 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.02636, allocations: 4 kB / 1.017 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.02675, allocations: 407.7 kB / 1.017 GB, free: 11.72 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.02698, allocations: 19.25 kB / 1.017 GB, free: 11.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.02864, allocations: 0.8026 MB / 1.018 GB, free: 10.87 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.077e-05/0.0287, allocations: 103.5 kB / 1.018 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003869/0.02909, allocations: 96.47 kB / 1.018 GB, free: 10.65 MB / 0.9792 GB Notification: Performance of SimCode: time 6.72e-07/0.02909, allocations: 0 / 1.018 GB, free: 10.65 MB / 0.9792 GB Notification: Performance of Templates: time 0.006356/0.03545, allocations: 7.14 MB / 1.025 GB, free: 3.555 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 6.739142842590809] Failed to read output from testmodel.py, exit status != 0: 0.0414006058126688 0.049337232 0.044451929 Calling exit ...