Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 112 kB / 16.38 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 187.1 kB / 17.31 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.291/1.291, allocations: 205.1 MB / 223.2 MB, free: 12.12 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.768/1.768, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 63.91 kB / 0.6729 GB, free: 5.785 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2053, allocations: 114.6 MB / 0.7848 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002285/0.2076, allocations: 0.6171 MB / 0.7854 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00166/0.2093, allocations: 1.307 MB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.859e-05/0.2094, allocations: 4 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.2094, allocations: 3.938 kB / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.132e-05/0.2095, allocations: 0 / 0.7867 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.2098, allocations: 71.72 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.617e-05/0.2099, allocations: 23.98 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.21, allocations: 7.984 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.219e-05/0.21, allocations: 7.938 kB / 0.7868 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.723e-05/0.2101, allocations: 15.92 kB / 0.7868 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.2101, allocations: 7.984 kB / 0.7868 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.2103, allocations: 91.91 kB / 0.7869 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.2103, allocations: 11.98 kB / 0.7869 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.2103, allocations: 11.92 kB / 0.7869 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.2105, allocations: 63.86 kB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2105, allocations: 0 / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2105, allocations: 0 / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2105, allocations: 3.938 kB / 0.787 GB, free: 0.8398 MB / 0.6544 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.0004437/0.211, allocations: 347.5 kB / 0.7873 GB, free: 464 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.211, allocations: 12.03 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.2111, allocations: 8.844 kB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.2112, allocations: 164.3 kB / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.2112, allocations: 4.375 kB / 0.7875 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.2112, allocations: 4.375 kB / 0.7875 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.2114, allocations: 57.98 kB / 0.7876 GB, free: 168 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.2114, allocations: 4 kB / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.2114, allocations: 0 / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2114, allocations: 0 / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.947e-05/0.2115, allocations: 19.98 kB / 0.7876 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3255/0.537, allocations: 165.2 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.5372, allocations: 59.02 kB / 0.7878 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.082e-05/0.5372, allocations: 31.78 kB / 0.7878 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003958/0.5376, allocations: 0.5553 MB / 0.7884 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.5377, allocations: 39.89 kB / 0.7884 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 3.196e-06/0.5377, allocations: 2.531 kB / 0.7884 GB, free: 47.95 MB / 0.6544 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.0178/0.5555, allocations: 4.302 MB / 0.7926 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.783e-05/0.5555, allocations: 51.41 kB / 0.7927 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.078e-05/0.5556, allocations: 98.23 kB / 0.7928 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.62e-05/0.5557, allocations: 29.33 kB / 0.7928 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.2e-05/0.5557, allocations: 80.14 kB / 0.7929 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.615e-05/0.5558, allocations: 58.72 kB / 0.7929 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.556, allocations: 89.81 kB / 0.793 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.617e-05/0.5561, allocations: 321.3 kB / 0.7933 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000418/0.5565, allocations: 310.5 kB / 0.7936 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/0.5569, allocations: 307.7 kB / 0.7939 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.5582, allocations: 0.757 MB / 0.7946 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.5582, allocations: 4 kB / 0.7947 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00126/0.5595, allocations: 0.7945 MB / 0.7954 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.5595, allocations: 6.312 kB / 0.7954 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5595, allocations: 0 / 0.7954 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.5595, allocations: 3.547 kB / 0.7954 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008087/0.5604, allocations: 89.44 kB / 0.7955 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5604, allocations: 2.375 kB / 0.7955 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005218/0.5609, allocations: 9.031 kB / 0.7955 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/0.561, allocations: 34.95 kB / 0.7956 GB, free: 46.34 MB / 0.6544 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.0001638/0.5612, allocations: 119.5 kB / 0.7957 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-05/0.5612, allocations: 17.62 kB / 0.7957 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.5637, allocations: 1.396 MB / 0.7971 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.5638, allocations: 0 / 0.7971 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5638, allocations: 1 kB / 0.7971 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.5638, allocations: 89.83 kB / 0.7971 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.53e-05/0.5639, allocations: 9.984 kB / 0.7972 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.5644, allocations: 11.06 kB / 0.7972 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.5645, allocations: 42.86 kB / 0.7972 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001491/0.566, allocations: 0.987 MB / 0.7982 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00206/0.5681, allocations: 1.545 MB / 0.7997 GB, free: 44.12 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005086/0.5686, allocations: 422 kB / 0.8001 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.6e-05/0.5686, allocations: 78.7 kB / 0.8002 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of Backend: time 4.41e-07/0.5686, allocations: 0 / 0.8002 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.57, allocations: 0.5558 MB / 0.8007 GB, free: 43.64 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0006645/0.5706, allocations: 0.7142 MB / 0.8014 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of Templates: time 0.02259/0.5932, allocations: 11.43 MB / 0.8126 GB, free: 42.42 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)