Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001258/0.001258, allocations: 79.12 kB / 19 MB, free: 2.867 MB / 14.72 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.001344/0.001344, allocations: 159.2 kB / 22.25 MB, free: 5.133 MB / 14.72 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 1.331/1.331, allocations: 177.2 MB / 202.6 MB, free: 9.262 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002398/0.002398, allocations: 237.8 kB / 259.2 MB, free: 0.5742 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.9978/0.9978, allocations: 138.5 MB / 454.2 MB, free: 2.066 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002884/0.002884, allocations: 107.8 kB / 0.6466 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3708, allocations: 95.35 MB / 0.7398 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002111/0.3729, allocations: 0.6057 MB / 0.7404 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002148/0.375, allocations: 1.317 MB / 0.7416 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.316e-05/0.3751, allocations: 0 / 0.7416 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.3751, allocations: 3.938 kB / 0.7416 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.078e-05/0.3751, allocations: 0 / 0.7416 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.3756, allocations: 75.73 kB / 0.7417 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.709e-05/0.3757, allocations: 19.98 kB / 0.7417 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.3757, allocations: 11.94 kB / 0.7417 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.694e-05/0.3758, allocations: 19.91 kB / 0.7418 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.26e-05/0.3758, allocations: 11.98 kB / 0.7418 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.3759, allocations: 4 kB / 0.7418 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.3762, allocations: 107.9 kB / 0.7419 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.3762, allocations: 7.922 kB / 0.7419 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.461e-05/0.3762, allocations: 8 kB / 0.7419 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.3764, allocations: 80.89 kB / 0.742 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.3764, allocations: 0 / 0.742 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.234e-06/0.3764, allocations: 0 / 0.742 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3765, allocations: 0 / 0.742 GB, free: 12.77 MB / 0.5762 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.0004832/0.3769, allocations: 282.1 kB / 0.7422 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.377, allocations: 16.69 kB / 0.7423 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.041e-05/0.377, allocations: 0.9375 kB / 0.7423 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.3771, allocations: 110.5 kB / 0.7424 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.3771, allocations: 8.375 kB / 0.7424 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.3772, allocations: 8.328 kB / 0.7424 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.3773, allocations: 87.62 kB / 0.7425 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3773, allocations: 0 / 0.7425 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3774, allocations: 3.984 kB / 0.7425 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3774, allocations: 8 kB / 0.7425 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.595e-05/0.3774, allocations: 19.98 kB / 0.7425 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.3776, allocations: 117.3 kB / 0.7426 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3777, allocations: 58.55 kB / 0.7427 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.085e-05/0.3778, allocations: 20.8 kB / 0.7427 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/0.3781, allocations: 39.95 kB / 0.7427 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.3781, allocations: 34.56 kB / 0.7428 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.3781, allocations: 4 kB / 0.7428 GB, free: 11.85 MB / 0.5762 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.02044/0.3986, allocations: 4.169 MB / 0.7468 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.3986, allocations: 55.41 kB / 0.7469 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.3987, allocations: 89.86 kB / 0.747 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.906e-05/0.3988, allocations: 29.7 kB / 0.747 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.3988, allocations: 84.27 kB / 0.7471 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.3989, allocations: 55.55 kB / 0.7471 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002443/0.3992, allocations: 97.66 kB / 0.7472 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3993, allocations: 318.8 kB / 0.7475 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005415/0.3999, allocations: 311.9 kB / 0.7478 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005384/0.4004, allocations: 315.8 kB / 0.7481 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.402, allocations: 0.7691 MB / 0.7489 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.402, allocations: 0 / 0.7489 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001675/0.4037, allocations: 0.802 MB / 0.7497 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.4037, allocations: 4 kB / 0.7497 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4037, allocations: 0 / 0.7497 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.4037, allocations: 8 kB / 0.7497 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008099/0.4045, allocations: 91.94 kB / 0.7498 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.4045, allocations: 0 / 0.7498 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.405, allocations: 15.88 kB / 0.7498 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-05/0.4051, allocations: 31.98 kB / 0.7498 GB, free: 4.488 MB / 0.5762 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.000217/0.4053, allocations: 121.8 kB / 0.7499 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.101e-05/0.4054, allocations: 7.953 kB / 0.7499 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003365/0.4088, allocations: 1.404 MB / 0.7513 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.4088, allocations: 4 kB / 0.7513 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.4088, allocations: 0 / 0.7513 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.4088, allocations: 4 kB / 0.7513 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.412, allocations: 1.661 MB / 0.7529 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.412, allocations: 0 / 0.7529 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007824/0.4128, allocations: 111.9 kB / 0.753 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.719e-06/0.4128, allocations: 8.031 kB / 0.753 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.366e-05/0.4128, allocations: 27.98 kB / 0.7531 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.4129, allocations: 4 kB / 0.7531 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.4129, allocations: 3.938 kB / 0.7531 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002564/0.4154, allocations: 1.47 MB / 0.7545 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.4154, allocations: 19.86 kB / 0.7545 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.84e-05/0.4155, allocations: 7.984 kB / 0.7545 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004836/0.416, allocations: 12 kB / 0.7546 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.4162, allocations: 47.89 kB / 0.7546 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.985e-05/0.4162, allocations: 28 kB / 0.7546 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.4163, allocations: 83.34 kB / 0.7547 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4163, allocations: 0 / 0.7547 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005671/0.4169, allocations: 183.7 kB / 0.7549 GB, free: 15.21 MB / 0.5919 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.0005588/0.4174, allocations: 234.7 kB / 0.7551 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.4187, allocations: 0.7145 MB / 0.7558 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4187, allocations: 0 / 0.7558 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006573/0.4194, allocations: 399.7 kB / 0.7562 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.4197, allocations: 22.28 kB / 0.7562 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.4228, allocations: 0.7898 MB / 0.757 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.925e-05/0.4229, allocations: 103.6 kB / 0.7571 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001003/0.4239, allocations: 301.4 kB / 0.7574 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005189/0.4245, allocations: 92.47 kB / 0.7574 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of SimCode: time 4.2e-07/0.4245, allocations: 0 / 0.7574 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of Templates: time 0.01892/0.4434, allocations: 11.99 MB / 0.7692 GB, free: 0.6445 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.686867944896221] Failed to read output from testmodel.py, exit status != 0: 0.45218520797789097 0.467272396 0.08778706700000001 Calling exit ...