Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001365/0.001365, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001487/0.001487, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.477/1.477, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 3.175/3.175, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] 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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0.875 kB / 0.8777 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.961e-05/3.149e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001759/0.001791, allocations: 0.6237 MB / 0.8783 GB, free: 5.816 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002505/0.004296, allocations: 1.436 MB / 0.8797 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.739e-05/0.004323, allocations: 0 / 0.8797 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.719e-05/0.004391, allocations: 7.938 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.709e-05/0.004428, allocations: 0 / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008653/0.005293, allocations: 221 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.9e-05/0.005392, allocations: 35.91 kB / 0.8799 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.005429, allocations: 5.031 kB / 0.8799 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.221e-05/0.005481, allocations: 15.98 kB / 0.8799 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.616e-05/0.005537, allocations: 21.06 kB / 0.88 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.005555, allocations: 4 kB / 0.88 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005456/0.0061, allocations: 259.5 kB / 0.8802 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.073e-05/0.006151, allocations: 9.062 kB / 0.8802 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.006198, allocations: 15.91 kB / 0.8802 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.006683, allocations: 263.4 kB / 0.8805 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.006686, allocations: 1.125 kB / 0.8805 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.172e-06/0.006687, allocations: 0 / 0.8805 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.006692, allocations: 0 / 0.8805 GB, free: 3.531 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.0005119/0.007204, allocations: 340.4 kB / 0.8808 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.007243, allocations: 12.03 kB / 0.8808 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.955e-05/0.007292, allocations: 5.438 kB / 0.8808 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.007414, allocations: 109.8 kB / 0.8809 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.007426, allocations: 2.219 kB / 0.8809 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.007443, allocations: 4.375 kB / 0.8809 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.007637, allocations: 107.8 kB / 0.881 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.007644, allocations: 192 / 0.881 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.007655, allocations: 384 / 0.881 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.007661, allocations: 5.25 kB / 0.881 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.4e-05/0.007755, allocations: 65.67 kB / 0.8811 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.007899, allocations: 105.3 kB / 0.8812 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.008259, allocations: 89.33 kB / 0.8813 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-05/0.008355, allocations: 70.56 kB / 0.8814 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.008364, allocations: 0 / 0.8814 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.008402, allocations: 39.16 kB / 0.8814 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.008404, allocations: 1.594 kB / 0.8814 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0004213/0.008826, allocations: 250.7 kB / 0.8816 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.597e-05/0.008902, allocations: 93.03 kB / 0.8817 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.009017, allocations: 109.8 kB / 0.8818 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.009043, allocations: 25.7 kB / 0.8819 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.009111, allocations: 86.77 kB / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.009157, allocations: 27.94 kB / 0.882 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.009203, allocations: 17.72 kB / 0.882 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.009388, allocations: 318.8 kB / 0.8823 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.238e-05/0.009481, allocations: 69.66 kB / 0.8824 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.029e-05/0.009571, allocations: 74.16 kB / 0.8824 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.009759, allocations: 150.2 kB / 0.8826 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.009761, allocations: 0 / 0.8826 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002579/0.01002, allocations: 181 kB / 0.8827 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.193e-05/0.01008, allocations: 37.69 kB / 0.8828 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01009, allocations: 0 / 0.8828 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.0101, allocations: 0.7188 kB / 0.8828 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.0101, allocations: 0 / 0.8828 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.01011, allocations: 5.594 kB / 0.8828 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.01023, allocations: 19.92 kB / 0.8828 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.01025, allocations: 4 kB / 0.8828 GB, free: 0.8984 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001291/0.01038, allocations: 143.5 kB / 0.8829 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.01041, allocations: 16.45 kB / 0.883 GB, free: 0.7266 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.523e-05/0.01042, allocations: 8.438 kB / 0.883 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01042, allocations: 4.953 kB / 0.883 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.01043, allocations: 3.938 kB / 0.883 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.01043, allocations: 4.094 kB / 0.883 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001125/0.01055, allocations: 113.2 kB / 0.8831 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.01055, allocations: 0 / 0.8831 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.01055, allocations: 0 / 0.8831 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01055, allocations: 0 / 0.8831 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.01056, allocations: 4 kB / 0.8831 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01057, allocations: 0 / 0.8831 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01057, allocations: 0 / 0.8831 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.01089, allocations: 244.3 kB / 0.8833 GB, free: 300 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.01091, allocations: 7.953 kB / 0.8833 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.507e-05/0.01092, allocations: 0 / 0.8833 GB, free: 292 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.06e-05/0.01097, allocations: 8.031 kB / 0.8833 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/0.01099, allocations: 7.984 kB / 0.8833 GB, free: 276 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.01101, allocations: 11.94 kB / 0.8834 GB, free: 264 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.619e-05/0.01108, allocations: 95.2 kB / 0.8834 GB, free: 168 kB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01108, allocations: 0 / 0.8834 GB, free: 168 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003362/0.01142, allocations: 67.88 kB / 0.8835 GB, free: 100 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003981/0.01181, allocations: 179.1 kB / 0.8837 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003277/0.01214, allocations: 226.7 kB / 0.8839 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01214, allocations: 0 / 0.8839 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.01231, allocations: 153.1 kB / 0.884 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.01247, allocations: 8 kB / 0.8841 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.01287, allocations: 202.2 kB / 0.8842 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.101e-05/0.01295, allocations: 79.2 kB / 0.8843 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.08e-06/0.01295, allocations: 0 / 0.8843 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.01297, allocations: 8.5 kB / 0.8843 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.01297, allocations: 4 kB / 0.8843 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of Templates: time 0.005582/0.01855, allocations: 2.136 MB / 0.8864 GB, free: 13.04 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.957475319970399]