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.001656/0.001656, allocations: 102.2 kB / 16.37 MB, free: 6.48 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.001834/0.001834, allocations: 192.4 kB / 17.31 MB, free: 5.82 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.351/1.351, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.921/1.921, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001681/0.001681, allocations: 66.25 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2603, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002323/0.2627, allocations: 0.6132 MB / 0.7854 GB, free: 2.551 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001878/0.2646, allocations: 1.307 MB / 0.7867 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.677e-05/0.2646, allocations: 0 / 0.7867 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.52e-05/0.2646, allocations: 0 / 0.7867 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.63e-05/0.2647, allocations: 3.938 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.2651, allocations: 71.73 kB / 0.7868 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.668e-05/0.2652, allocations: 23.97 kB / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.2653, allocations: 0 / 0.7868 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.752e-05/0.2653, allocations: 23.92 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.511e-05/0.2654, allocations: 11.92 kB / 0.7868 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.2654, allocations: 0 / 0.7868 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.2656, allocations: 99.89 kB / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.2657, allocations: 0 / 0.7869 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.2657, allocations: 19.91 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.2658, allocations: 63.86 kB / 0.787 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2659, allocations: 0 / 0.787 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2659, allocations: 0 / 0.787 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2659, allocations: 0 / 0.787 GB, free: 0.9141 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.0005015/0.2664, allocations: 355.5 kB / 0.7873 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.2664, allocations: 8.031 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.2665, allocations: 8.844 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.2666, allocations: 168.3 kB / 0.7875 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.2666, allocations: 384 / 0.7875 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.2667, allocations: 4.375 kB / 0.7875 GB, free: 304 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.2668, allocations: 57.98 kB / 0.7876 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2668, allocations: 0 / 0.7876 GB, free: 240 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.2669, allocations: 4 kB / 0.7876 GB, free: 236 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.2669, allocations: 4 kB / 0.7876 GB, free: 232 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.049e-05/0.2669, allocations: 23.98 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4124/0.6794, allocations: 157.7 kB / 0.7877 GB, free: 0 / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.6796, allocations: 62.97 kB / 0.7878 GB, free: 49.07 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.134e-05/0.6797, allocations: 26.94 kB / 0.7878 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004997/0.6802, allocations: 0.5554 MB / 0.7884 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.6803, allocations: 39.16 kB / 0.7884 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 2.344e-06/0.6803, allocations: 3.969 kB / 0.7884 GB, free: 48.36 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.01886/0.6991, allocations: 4.303 MB / 0.7926 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.6992, allocations: 62.02 kB / 0.7927 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.085e-05/0.6993, allocations: 94.2 kB / 0.7928 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.865e-05/0.6994, allocations: 29.64 kB / 0.7928 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.789e-05/0.6994, allocations: 81.27 kB / 0.7929 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.6995, allocations: 58.16 kB / 0.7929 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002405/0.6998, allocations: 91.33 kB / 0.793 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.253e-05/0.6998, allocations: 317.9 kB / 0.7933 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/0.7003, allocations: 314.8 kB / 0.7936 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.7007, allocations: 306.5 kB / 0.7939 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.702, allocations: 0.7566 MB / 0.7947 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7021, allocations: 0 / 0.7947 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001385/0.7035, allocations: 0.7851 MB / 0.7954 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.7035, allocations: 6.812 kB / 0.7954 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.7035, allocations: 0 / 0.7954 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.7035, allocations: 7.391 kB / 0.7954 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008355/0.7044, allocations: 98.11 kB / 0.7955 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.7044, allocations: 0 / 0.7955 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.7049, allocations: 13.28 kB / 0.7955 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/0.705, allocations: 34.25 kB / 0.7956 GB, free: 46.71 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.0001757/0.7052, allocations: 118.3 kB / 0.7957 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.7053, allocations: 6.469 kB / 0.7957 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.7082, allocations: 1.401 MB / 0.7971 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.7083, allocations: 3.312 kB / 0.7971 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.7083, allocations: 1.375 kB / 0.7971 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.7083, allocations: 2.906 kB / 0.7971 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.7111, allocations: 1.8 MB / 0.7988 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.7111, allocations: 1.438 kB / 0.7988 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000833/0.712, allocations: 112.5 kB / 0.7989 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.712, allocations: 1.812 kB / 0.7989 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.507e-05/0.7121, allocations: 33.09 kB / 0.799 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.7121, allocations: 1.719 kB / 0.799 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.7121, allocations: 4.906 kB / 0.799 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.7147, allocations: 1.461 MB / 0.8004 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.7147, allocations: 90.56 kB / 0.8005 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.155e-05/0.7148, allocations: 7.078 kB / 0.8005 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005305/0.7154, allocations: 14.47 kB / 0.8005 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.7155, allocations: 45.88 kB / 0.8005 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-05/0.7156, allocations: 29.38 kB / 0.8006 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.612e-05/0.7156, allocations: 76.5 kB / 0.8006 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7157, allocations: 0.5938 kB / 0.8006 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009/0.7166, allocations: 168.9 kB / 0.8008 GB, free: 43.97 MB / 0.6544 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.0006128/0.7172, allocations: 226.7 kB / 0.801 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.7187, allocations: 0.7259 MB / 0.8017 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.7187, allocations: 0.8438 kB / 0.8017 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007554/0.7194, allocations: 454.1 kB / 0.8022 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.7198, allocations: 16.62 kB / 0.8022 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003653/0.7235, allocations: 0.8263 MB / 0.803 GB, free: 42.99 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.7237, allocations: 0.718 MB / 0.8037 GB, free: 42.28 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005629/0.7243, allocations: 95.86 kB / 0.8038 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/0.7243, allocations: 0 / 0.8038 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of Templates: time 0.019/0.7433, allocations: 6.857 MB / 0.8105 GB, free: 41.84 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)