Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9334/0.9334, allocations: 145.2 MB / 448.5 MB, free: 13.68 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 70.33 kB / 0.6211 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1627, allocations: 86.65 MB / 0.7058 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001825/0.1645, allocations: 0.6207 MB / 0.7064 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1663, allocations: 1.283 MB / 0.7076 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.038e-05/0.1663, allocations: 0 / 0.7076 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.1664, allocations: 3.938 kB / 0.7076 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.837e-05/0.1664, allocations: 4 kB / 0.7076 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.1668, allocations: 79.67 kB / 0.7077 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.493e-05/0.1668, allocations: 19.98 kB / 0.7077 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.1669, allocations: 0 / 0.7077 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.197e-05/0.1669, allocations: 15.92 kB / 0.7077 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.258e-05/0.167, allocations: 15.92 kB / 0.7078 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.167, allocations: 0 / 0.7078 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.1672, allocations: 107.8 kB / 0.7079 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.1672, allocations: 7.938 kB / 0.7079 GB, free: 492 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.1673, allocations: 15.92 kB / 0.7079 GB, free: 476 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.1674, allocations: 71.72 kB / 0.7079 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.1674, allocations: 4 kB / 0.708 GB, free: 400 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1674, allocations: 0 / 0.708 GB, free: 400 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.1674, allocations: 0 / 0.708 GB, free: 400 kB / 0.5137 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.0005128/0.1679, allocations: 351.3 kB / 0.7083 GB, free: 0 / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.168, allocations: 8.672 kB / 0.7083 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.168, allocations: 4.938 kB / 0.7083 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.1682, allocations: 164.3 kB / 0.7085 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.1682, allocations: 384 / 0.7085 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.1682, allocations: 12.38 kB / 0.7085 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1683, allocations: 57.92 kB / 0.7085 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1684, allocations: 3.938 kB / 0.7085 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1684, allocations: 0 / 0.7085 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1684, allocations: 4 kB / 0.7085 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.83e-05/0.1684, allocations: 23.98 kB / 0.7086 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/0.1687, allocations: 169.6 kB / 0.7087 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1688, allocations: 54.56 kB / 0.7088 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.696e-05/0.1688, allocations: 28.78 kB / 0.7088 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000581/0.1694, allocations: 0.5544 MB / 0.7093 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.1694, allocations: 42.44 kB / 0.7094 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.1694, allocations: 0 / 0.7094 GB, free: 14.64 MB / 0.5294 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.02037/0.1898, allocations: 4.382 MB / 0.7137 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.1899, allocations: 51.41 kB / 0.7137 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.1901, allocations: 93.86 kB / 0.7138 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.381e-05/0.1901, allocations: 29.83 kB / 0.7138 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.1902, allocations: 84.14 kB / 0.7139 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.1903, allocations: 63.47 kB / 0.714 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.1906, allocations: 85.67 kB / 0.714 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1907, allocations: 326.8 kB / 0.7144 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005856/0.1913, allocations: 303.9 kB / 0.7146 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.1919, allocations: 319.8 kB / 0.715 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.1935, allocations: 0.772 MB / 0.7157 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1935, allocations: 3.938 kB / 0.7157 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001673/0.1952, allocations: 0.8043 MB / 0.7165 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1952, allocations: 8 kB / 0.7165 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1952, allocations: 3.938 kB / 0.7165 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.1952, allocations: 0 / 0.7165 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008451/0.1961, allocations: 91.94 kB / 0.7166 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1961, allocations: 0 / 0.7166 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005283/0.1966, allocations: 12 kB / 0.7166 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.362e-05/0.1967, allocations: 31.98 kB / 0.7166 GB, free: 7.004 MB / 0.5294 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.0002127/0.1969, allocations: 129.7 kB / 0.7168 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-05/0.197, allocations: 11.95 kB / 0.7168 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/0.2004, allocations: 1.392 MB / 0.7181 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2004, allocations: 4 kB / 0.7181 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2004, allocations: 0 / 0.7181 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2004, allocations: 0 / 0.7181 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003221/0.2036, allocations: 1.818 MB / 0.7199 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2036, allocations: 0 / 0.7199 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007939/0.2044, allocations: 107.9 kB / 0.72 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.2044, allocations: 4 kB / 0.72 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.541e-05/0.2045, allocations: 27.94 kB / 0.72 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.2045, allocations: 4 kB / 0.72 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2045, allocations: 0 / 0.72 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/0.2071, allocations: 1.471 MB / 0.7215 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.2072, allocations: 96.98 kB / 0.7216 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.427e-05/0.2073, allocations: 11.94 kB / 0.7216 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005186/0.2078, allocations: 8 kB / 0.7216 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.208, allocations: 47.95 kB / 0.7216 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.984e-05/0.208, allocations: 27.94 kB / 0.7217 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.912e-05/0.2081, allocations: 87.34 kB / 0.7218 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2081, allocations: 0 / 0.7218 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006187/0.2087, allocations: 179.7 kB / 0.7219 GB, free: 1.469 MB / 0.5294 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.0005505/0.2092, allocations: 222.8 kB / 0.7221 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.2106, allocations: 0.7067 MB / 0.7228 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2106, allocations: 4 kB / 0.7228 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006907/0.2113, allocations: 403.6 kB / 0.7232 GB, free: 140 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.2116, allocations: 16.16 kB / 0.7232 GB, free: 124 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/0.2152, allocations: 0.8446 MB / 0.7241 GB, free: 15.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.2156, allocations: 0.7142 MB / 0.7248 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005797/0.2162, allocations: 91.41 kB / 0.7248 GB, free: 14.41 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.2162, allocations: 0 / 0.7248 GB, free: 14.41 MB / 0.545 GB Notification: Performance of Templates: time 0.01129/0.2275, allocations: 6.946 MB / 0.7316 GB, free: 7.555 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.451867913128808] Failed to read output from testmodel.py, exit status != 0: 0.23503708117641509 0.25030218600000004 0.07988064 Calling exit ...