Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001188/0.001188, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001194/0.001194, allocations: 169 kB / 24.06 MB, free: 456 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.091/1.091, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.147/2.147, allocations: 429.5 MB / 0.6743 GB, free: 3.891 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Examples.Splice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.49e-05, allocations: 4.984 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Splice): time 0.002303/0.002328, allocations: 1.553 MB / 0.8809 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009296/0.003257, allocations: 0.7122 MB / 0.8816 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.003313, allocations: 4.656 kB / 0.8816 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.00334, allocations: 3.938 kB / 0.8816 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.065e-05/0.00339, allocations: 8.906 kB / 0.8816 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.003727, allocations: 104.1 kB / 0.8817 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.715e-05/0.003824, allocations: 40.58 kB / 0.8818 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.281e-05/0.003917, allocations: 15.97 kB / 0.8818 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.004024, allocations: 23.42 kB / 0.8818 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.564e-05/0.00407, allocations: 15.92 kB / 0.8818 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.004082, allocations: 0 / 0.8818 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.004249, allocations: 111.9 kB / 0.8819 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.004263, allocations: 7.984 kB / 0.8819 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.004282, allocations: 11.94 kB / 0.8819 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.004445, allocations: 107.6 kB / 0.882 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.004448, allocations: 0 / 0.882 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004449, allocations: 0 / 0.882 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.004454, allocations: 4.531 kB / 0.882 GB, free: 3.301 MB / 0.8386 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.0003511/0.004805, allocations: 397.4 kB / 0.8824 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.004837, allocations: 8.031 kB / 0.8824 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.004943, allocations: 20.88 kB / 0.8825 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.005065, allocations: 125.1 kB / 0.8826 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.005073, allocations: 1.906 kB / 0.8826 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.005081, allocations: 8.375 kB / 0.8826 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.575e-05/0.005167, allocations: 50.95 kB / 0.8826 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.005173, allocations: 192 / 0.8826 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.032e-06/0.005179, allocations: 4.375 kB / 0.8826 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.005186, allocations: 3.938 kB / 0.8826 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.00521, allocations: 19.92 kB / 0.8827 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.005427, allocations: 240.4 kB / 0.8829 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.453e-05/0.005481, allocations: 31.06 kB / 0.8829 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.582e-05/0.005497, allocations: 11.67 kB / 0.8829 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.005647, allocations: 43.91 kB / 0.883 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.005669, allocations: 41.39 kB / 0.883 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.00567, allocations: 4 kB / 0.883 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001291/0.005799, allocations: 41.64 kB / 0.8831 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.005826, allocations: 51.41 kB / 0.8831 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.398e-05/0.0059, allocations: 174 kB / 0.8833 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.00591, allocations: 25.7 kB / 0.8833 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.005954, allocations: 134.8 kB / 0.8834 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.005972, allocations: 7.953 kB / 0.8834 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.005996, allocations: 27.23 kB / 0.8835 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.006105, allocations: 0.4884 MB / 0.8839 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.006114, allocations: 4.125 kB / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-06/0.006123, allocations: 0 / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.632e-05/0.006149, allocations: 23.67 kB / 0.884 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.006151, allocations: 0 / 0.884 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.167e-05/0.006202, allocations: 41.59 kB / 0.884 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.006214, allocations: 4 kB / 0.884 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.006219, allocations: 4 kB / 0.884 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.006228, allocations: 0 / 0.884 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.9e-05/0.006277, allocations: 11.92 kB / 0.884 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.444e-06/0.006279, allocations: 8.094 kB / 0.884 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.006293, allocations: 0 / 0.884 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.006298, allocations: 0 / 0.884 GB, free: 1.078 MB / 0.8386 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 5.943e-05/0.006358, allocations: 156.6 kB / 0.8842 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.623e-05/0.006374, allocations: 3.938 kB / 0.8842 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.296e-05/0.006457, allocations: 45.31 kB / 0.8842 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.006459, allocations: 0 / 0.8842 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.00646, allocations: 4 kB / 0.8842 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.006463, allocations: 0 / 0.8842 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.573e-05/0.006558, allocations: 109.2 kB / 0.8843 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.00656, allocations: 4.031 kB / 0.8843 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.006581, allocations: 7.984 kB / 0.8843 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.006582, allocations: 0 / 0.8843 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.006589, allocations: 7.938 kB / 0.8843 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.00659, allocations: 0 / 0.8843 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.006592, allocations: 3.938 kB / 0.8844 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.633e-05/0.006678, allocations: 183.9 kB / 0.8845 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.784e-06/0.006686, allocations: 3.953 kB / 0.8845 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.006695, allocations: 3.938 kB / 0.8845 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.828e-05/0.006723, allocations: 4 kB / 0.8845 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.006746, allocations: 8.031 kB / 0.8845 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.006748, allocations: 0 / 0.8845 GB, free: 496 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.764e-05/0.006786, allocations: 131.2 kB / 0.8847 GB, free: 364 kB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006786, allocations: 0 / 0.8847 GB, free: 364 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001636/0.00695, allocations: 11.94 kB / 0.8847 GB, free: 352 kB / 0.8386 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.0001275/0.007077, allocations: 119.1 kB / 0.8848 GB, free: 220 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.075e-05/0.007148, allocations: 23.61 kB / 0.8848 GB, free: 192 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.007149, allocations: 0 / 0.8848 GB, free: 192 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-05/0.007165, allocations: 15.75 kB / 0.8848 GB, free: 172 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.007326, allocations: 6.188 kB / 0.8848 GB, free: 168 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.007717, allocations: 142.3 kB / 0.885 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.988e-05/0.007746, allocations: 55.34 kB / 0.885 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.969e-05/0.007766, allocations: 7.984 kB / 0.885 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/0.007802, allocations: 74.14 kB / 0.8851 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.007803, allocations: 0 / 0.8851 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.002087/0.00989, allocations: 0.6081 MB / 0.8857 GB, free: 15.23 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Splice.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Splice.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Splice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.449412218760699]