Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Splice.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.0009173/0.0009173, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001251/0.001251, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 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 0.9849/0.9849, allocations: 177.1 MB / 204.2 MB, free: 5.566 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.862/1.862, allocations: 359 MB / 0.6052 GB, free: 10.98 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.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Splice") translateModel(Buildings.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|splice.x|splice.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.991e-05/3.175e-05, allocations: 8.781 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.003045/0.003076, allocations: 1.54 MB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.004377, allocations: 0.7112 MB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.004426, allocations: 0 / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.004456, allocations: 8.984 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.219e-05/0.004498, allocations: 7.875 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004102/0.004909, allocations: 108.3 kB / 0.7894 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.941e-05/0.005008, allocations: 41.36 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.983e-05/0.005088, allocations: 15.97 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.005198, allocations: 23.92 kB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.024e-05/0.005238, allocations: 15.11 kB / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.005252, allocations: 4 kB / 0.7895 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.005461, allocations: 107.8 kB / 0.7896 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.005484, allocations: 15.97 kB / 0.7896 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.005504, allocations: 7.938 kB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.005811, allocations: 103.7 kB / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.005815, allocations: 0 / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.243e-06/0.005816, allocations: 0 / 0.7898 GB, free: 9.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.005822, allocations: 0 / 0.7898 GB, free: 9.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003766/0.006198, allocations: 401.3 kB / 0.7901 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.006237, allocations: 15.97 kB / 0.7901 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.006361, allocations: 13.52 kB / 0.7902 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.006505, allocations: 117.8 kB / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.006516, allocations: 8.375 kB / 0.7903 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.006526, allocations: 384 / 0.7903 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.006641, allocations: 58.95 kB / 0.7903 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.006649, allocations: 1.844 kB / 0.7903 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-06/0.006658, allocations: 384 / 0.7903 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/0.006666, allocations: 3.938 kB / 0.7903 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.213e-05/0.006699, allocations: 15.92 kB / 0.7904 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003151/0.007014, allocations: 269.3 kB / 0.7906 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.967e-05/0.007073, allocations: 35 kB / 0.7907 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.007096, allocations: 15.73 kB / 0.7907 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001958/0.007292, allocations: 38.16 kB / 0.7907 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.007316, allocations: 37.33 kB / 0.7907 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.214e-06/0.007318, allocations: 0 / 0.7907 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001633/0.007482, allocations: 42.22 kB / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.007507, allocations: 52.12 kB / 0.7908 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.332e-05/0.007591, allocations: 173.9 kB / 0.791 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.317e-06/0.0076, allocations: 26.2 kB / 0.791 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/0.007647, allocations: 144.4 kB / 0.7912 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.007663, allocations: 7.938 kB / 0.7912 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.007691, allocations: 19.38 kB / 0.7912 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.007808, allocations: 0.4884 MB / 0.7917 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.007822, allocations: 4.562 kB / 0.7917 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.131e-05/0.007834, allocations: 3.984 kB / 0.7917 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.195e-05/0.007866, allocations: 20.53 kB / 0.7917 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.007867, allocations: 0.5312 kB / 0.7917 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.175e-05/0.007929, allocations: 42.27 kB / 0.7917 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.007941, allocations: 4.656 kB / 0.7917 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.007945, allocations: 0 / 0.7917 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.007958, allocations: 5.375 kB / 0.7917 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.008015, allocations: 7.984 kB / 0.7917 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.00802, allocations: 3.938 kB / 0.7917 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.442e-05/0.008034, allocations: 3.938 kB / 0.7918 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.00804, allocations: 1.125 kB / 0.7918 GB, free: 7.488 MB / 0.7448 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 (2): * Single equations (assignments): 2 * 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 6.371e-05/0.008103, allocations: 156.6 kB / 0.7919 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.008121, allocations: 8.672 kB / 0.7919 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.652e-05/0.008217, allocations: 53.3 kB / 0.792 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.00822, allocations: 4.547 kB / 0.792 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.008223, allocations: 0.8438 kB / 0.792 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.008225, allocations: 0 / 0.792 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.008327, allocations: 126.6 kB / 0.7921 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.008329, allocations: 0 / 0.7921 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.008353, allocations: 7.938 kB / 0.7921 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.008355, allocations: 0 / 0.7921 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.008361, allocations: 0 / 0.7921 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.008362, allocations: 0 / 0.7921 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.008363, allocations: 0.625 kB / 0.7921 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.327e-05/0.008457, allocations: 194.3 kB / 0.7923 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.008467, allocations: 15.92 kB / 0.7923 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-06/0.008476, allocations: 0 / 0.7923 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.021e-05/0.008507, allocations: 3.984 kB / 0.7923 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.008535, allocations: 0 / 0.7923 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.008539, allocations: 4 kB / 0.7923 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.268e-05/0.008592, allocations: 127.2 kB / 0.7924 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.008592, allocations: 1.812 kB / 0.7924 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000262/0.008854, allocations: 19.94 kB / 0.7924 GB, free: 6.719 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001529/0.009007, allocations: 111.2 kB / 0.7926 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.459e-05/0.009081, allocations: 20.16 kB / 0.7926 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009083, allocations: 0.5625 kB / 0.7926 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.671e-05/0.0091, allocations: 13.34 kB / 0.7926 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.009262, allocations: 5.719 kB / 0.7926 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005216/0.009784, allocations: 147.2 kB / 0.7927 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.951e-05/0.009823, allocations: 59.34 kB / 0.7928 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.937e-05/0.009843, allocations: 4.594 kB / 0.7928 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.009869, allocations: 13.34 kB / 0.7928 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of SimCode: time 1.573e-06/0.00987, allocations: 0 / 0.7928 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of Templates: time 0.002432/0.0123, allocations: 0.5456 MB / 0.7933 GB, free: 5.766 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Splice.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: 5.084076394326985]