Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.0009797/0.0009797, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.0009964/0.0009964, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 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.008/1.008, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.769/1.769, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x|y|der.x.|der.y.|d2y|d3y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.7876 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.55e-05, allocations: 8.781 kB / 0.7876 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001196/0.001212, allocations: 0.6223 MB / 0.7882 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.002545, allocations: 1.344 MB / 0.7895 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/0.002568, allocations: 0 / 0.7895 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.498e-06/0.002577, allocations: 0.6562 kB / 0.7895 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 1.471e-05/0.002592, allocations: 3.938 kB / 0.7895 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.002849, allocations: 89.25 kB / 0.7896 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.085e-05/0.00288, allocations: 15.98 kB / 0.7896 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 1.84e-05/0.002898, allocations: 4 kB / 0.7897 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.509e-05/0.002923, allocations: 13.56 kB / 0.7897 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.09e-05/0.002964, allocations: 19.92 kB / 0.7897 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.805e-06/0.002972, allocations: 0 / 0.7897 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.003141, allocations: 115.8 kB / 0.7898 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.104e-06/0.003148, allocations: 3.438 kB / 0.7898 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.113e-05/0.003159, allocations: 7.984 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.003266, allocations: 99.69 kB / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.003268, allocations: 0 / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.01e-07/0.003268, allocations: 0 / 0.7899 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.484e-06/0.003271, allocations: 0 / 0.7899 GB, free: 9.758 MB / 0.7448 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.0002346/0.003505, allocations: 376.1 kB / 0.7903 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.527e-05/0.003531, allocations: 12.03 kB / 0.7903 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.73e-05/0.003548, allocations: 9.953 kB / 0.7903 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.946e-05/0.003597, allocations: 108.6 kB / 0.7904 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.131e-06/0.003603, allocations: 5.219 kB / 0.7904 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.003618, allocations: 4.375 kB / 0.7904 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.549e-05/0.003684, allocations: 76.78 kB / 0.7905 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.00369, allocations: 192 / 0.7905 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-06/0.003694, allocations: 0.9062 kB / 0.7905 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.003698, allocations: 5.312 kB / 0.7905 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.253e-05/0.003731, allocations: 19.92 kB / 0.7905 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.009e-05/0.003811, allocations: 101.3 kB / 0.7906 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.755e-05/0.003878, allocations: 59.09 kB / 0.7906 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.0039, allocations: 28.95 kB / 0.7907 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.004028, allocations: 40.61 kB / 0.7907 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.004048, allocations: 38.11 kB / 0.7907 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.004049, allocations: 5.031 kB / 0.7908 GB, free: 8.77 MB / 0.7448 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.009558/0.01361, allocations: 5.2 MB / 0.7958 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.01363, allocations: 55.41 kB / 0.7959 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.437e-05/0.01369, allocations: 149.9 kB / 0.796 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.353e-05/0.01373, allocations: 29.7 kB / 0.7961 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.01376, allocations: 130.9 kB / 0.7962 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.512e-05/0.01384, allocations: 59.47 kB / 0.7962 GB, free: 3.039 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.01398, allocations: 99.31 kB / 0.7963 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.01411, allocations: 496.1 kB / 0.7968 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.01442, allocations: 404 kB / 0.7972 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.01472, allocations: 398.1 kB / 0.7976 GB, free: 1.656 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009002/0.01562, allocations: 0.9409 MB / 0.7985 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01562, allocations: 0 / 0.7985 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009535/0.01657, allocations: 0.9758 MB / 0.7994 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.01659, allocations: 4 kB / 0.7994 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.01659, allocations: 0 / 0.7994 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.0166, allocations: 4 kB / 0.7994 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.01693, allocations: 95.88 kB / 0.7995 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.01693, allocations: 3.938 kB / 0.7995 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.01711, allocations: 4 kB / 0.7995 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.01716, allocations: 39.98 kB / 0.7996 GB, free: 15.58 MB / 0.7605 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.000132/0.01729, allocations: 164.5 kB / 0.7997 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.01738, allocations: 11.89 kB / 0.7998 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.0189, allocations: 1.216 MB / 0.8009 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.01891, allocations: 4 kB / 0.8009 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01891, allocations: 0 / 0.8009 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01891, allocations: 0 / 0.8009 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.02039, allocations: 1.49 MB / 0.8024 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.02039, allocations: 0 / 0.8024 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.02072, allocations: 107.9 kB / 0.8025 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.02073, allocations: 7.938 kB / 0.8025 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.02076, allocations: 24 kB / 0.8025 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.02077, allocations: 4 kB / 0.8025 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.02077, allocations: 0 / 0.8025 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.02184, allocations: 1.145 MB / 0.8037 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.02185, allocations: 15.84 kB / 0.8037 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.0219, allocations: 12 kB / 0.8037 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.02209, allocations: 11.98 kB / 0.8037 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.02217, allocations: 43.95 kB / 0.8037 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.157e-05/0.02221, allocations: 24 kB / 0.8038 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 3.159e-05/0.02224, allocations: 123.2 kB / 0.8039 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-08/0.02224, allocations: 0 / 0.8039 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003877/0.02263, allocations: 191.6 kB / 0.8041 GB, free: 10.92 MB / 0.7605 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.0003178/0.02294, allocations: 250.8 kB / 0.8043 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006252/0.02357, allocations: 0.7415 MB / 0.805 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.02357, allocations: 0 / 0.805 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.02389, allocations: 355.6 kB / 0.8054 GB, free: 9.566 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.0241, allocations: 39.94 kB / 0.8054 GB, free: 9.527 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.02556, allocations: 0.6985 MB / 0.8061 GB, free: 8.797 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.101e-05/0.0256, allocations: 77.34 kB / 0.8062 GB, free: 8.703 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005855/0.02618, allocations: 293.5 kB / 0.8064 GB, free: 8.418 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005754/0.02676, allocations: 166.2 kB / 0.8066 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of SimCode: time 3.7e-07/0.02676, allocations: 0 / 0.8066 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of Templates: time 0.01201/0.03877, allocations: 12.97 MB / 0.8193 GB, free: 11.31 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.9673934588208795]