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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.002191/0.002191, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.438/3.438, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 3.358/3.358, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.001133/0.001133, allocations: 13.69 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5079/0.5091, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001378/0.5106, allocations: 357.7 kB / 0.7876 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003009/0.5137, allocations: 1.26 MB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.5138, allocations: 0 / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.5138, allocations: 0 / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.5138, allocations: 0 / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006638/0.5145, allocations: 55.81 kB / 0.7889 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.81e-05/0.5146, allocations: 15.98 kB / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.06e-05/0.5147, allocations: 0 / 0.7889 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.823e-05/0.5148, allocations: 11.92 kB / 0.7889 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.5149, allocations: 15.92 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.515, allocations: 4 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003579/0.5153, allocations: 87.84 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.5154, allocations: 11.97 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.61e-05/0.5155, allocations: 29.7 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.5157, allocations: 31.95 kB / 0.7891 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.5158, allocations: 4 kB / 0.7891 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.218e-06/0.5158, allocations: 0 / 0.7891 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.5158, allocations: 0 / 0.7891 GB, free: 9.977 MB / 0.6075 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.0008249/0.5166, allocations: 347.5 kB / 0.7894 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.815e-05/0.5167, allocations: 8.031 kB / 0.7894 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.169e-05/0.5168, allocations: 34.55 kB / 0.7894 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.5169, allocations: 8 kB / 0.7894 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.5172, allocations: 174.9 kB / 0.7896 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.5172, allocations: 12 kB / 0.7896 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.5173, allocations: 0 / 0.7896 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.5176, allocations: 57.61 kB / 0.7897 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.5176, allocations: 0 / 0.7897 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.5176, allocations: 0 / 0.7897 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.5177, allocations: 4 kB / 0.7897 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.5178, allocations: 19.98 kB / 0.7897 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.5182, allocations: 169.5 kB / 0.7899 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.5185, allocations: 66.48 kB / 0.7899 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/0.5196, allocations: 0.5544 MB / 0.7905 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.779e-05/0.5196, allocations: 34.56 kB / 0.7905 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 7.825e-06/0.5197, allocations: 0 / 0.7905 GB, free: 8.207 MB / 0.6075 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.03585/0.5555, allocations: 4.212 MB / 0.7946 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.5557, allocations: 59.36 kB / 0.7947 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.5559, allocations: 93.84 kB / 0.7948 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.556, allocations: 29.7 kB / 0.7948 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.951e-05/0.5561, allocations: 84.14 kB / 0.7949 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.5563, allocations: 55.19 kB / 0.7949 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.409e-05/0.5564, allocations: 128 / 0.7949 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.5567, allocations: 326.8 kB / 0.7952 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.5577, allocations: 303.9 kB / 0.7955 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.5588, allocations: 319.7 kB / 0.7958 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.5605, allocations: 375.9 kB / 0.7962 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5605, allocations: 3.938 kB / 0.7962 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003305/0.5638, allocations: 0.7894 MB / 0.797 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.5639, allocations: 4 kB / 0.797 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.5639, allocations: 0 / 0.797 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.5639, allocations: 0 / 0.797 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/0.5654, allocations: 103.9 kB / 0.7971 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.5655, allocations: 7.953 kB / 0.7971 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009373/0.5664, allocations: 4 kB / 0.7971 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.5666, allocations: 39.92 kB / 0.7971 GB, free: 1.242 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003609/0.567, allocations: 117.8 kB / 0.7972 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.5671, allocations: 7.906 kB / 0.7972 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006982/0.5741, allocations: 1.388 MB / 0.7986 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.5742, allocations: 8 kB / 0.7986 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.5742, allocations: 0 / 0.7986 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.5743, allocations: 7.938 kB / 0.7986 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005651/0.5799, allocations: 1.79 MB / 0.8003 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.251e-05/0.58, allocations: 0 / 0.8003 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.5813, allocations: 115.8 kB / 0.8005 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.856e-05/0.5813, allocations: 8.031 kB / 0.8005 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.5814, allocations: 24 kB / 0.8005 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-05/0.5815, allocations: 4 kB / 0.8005 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5815, allocations: 0 / 0.8005 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004082/0.5856, allocations: 1.47 MB / 0.8019 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.5858, allocations: 96.88 kB / 0.802 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.5859, allocations: 12.06 kB / 0.802 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007839/0.5867, allocations: 16 kB / 0.802 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.5869, allocations: 43.95 kB / 0.8021 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/0.5871, allocations: 32 kB / 0.8021 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001439/0.5872, allocations: 75.28 kB / 0.8022 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.11e-07/0.5873, allocations: 0 / 0.8022 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001464/0.5887, allocations: 176 kB / 0.8024 GB, free: 11.74 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006639/0.5954, allocations: 2.202 MB / 0.8045 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002476/0.598, allocations: 0.7223 MB / 0.8052 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.598, allocations: 0 / 0.8052 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.5991, allocations: 447.8 kB / 0.8056 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.5996, allocations: 16.06 kB / 0.8057 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.6106, allocations: 2.142 MB / 0.8077 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.6114, allocations: 0.7145 MB / 0.8084 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002992/0.6144, allocations: 297.6 kB / 0.8087 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009885/0.6154, allocations: 111.4 kB / 0.8088 GB, free: 5 MB / 0.6231 GB Notification: Performance of SimCode: time 2.856e-06/0.6155, allocations: 0 / 0.8088 GB, free: 5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05891/0.6744, allocations: 11.63 MB / 0.8202 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003126/0.6748, allocations: 206.5 kB / 0.8204 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.395/4.07, allocations: 2.953 kB / 0.8204 GB, free: 9.355 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: