Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.001376/0.001376, allocations: 80.36 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001561/0.001561, allocations: 171.7 kB / 22.46 MB, free: 5.355 MB / 14.72 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.465/1.465, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.825/2.825, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.108e-06/4.108e-06, allocations: 4 kB / 0.9815 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.755e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001572/0.0016, allocations: 0.63 MB / 0.9821 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004385/0.002038, allocations: 179.2 kB / 0.9823 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.002072, allocations: 0 / 0.9823 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.634e-05/0.002089, allocations: 3.938 kB / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.002247, allocations: 7.922 kB / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.002458, allocations: 75.69 kB / 0.9824 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.697e-05/0.002525, allocations: 27.91 kB / 0.9824 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.002569, allocations: 12 kB / 0.9824 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.337e-05/0.002622, allocations: 23.91 kB / 0.9824 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.261e-05/0.002685, allocations: 11.98 kB / 0.9824 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.002703, allocations: 7.938 kB / 0.9824 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.002829, allocations: 47.83 kB / 0.9825 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.00285, allocations: 11.92 kB / 0.9825 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.002873, allocations: 7.984 kB / 0.9825 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001809/0.003054, allocations: 95.77 kB / 0.9826 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.003056, allocations: 0 / 0.9826 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003056, allocations: 0 / 0.9826 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.00306, allocations: 0 / 0.9826 GB, free: 10.8 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000636/0.003696, allocations: 298 kB / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.003734, allocations: 12.03 kB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.003773, allocations: 4.891 kB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.003924, allocations: 117.8 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.003937, allocations: 4.375 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.003955, allocations: 384 / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.004112, allocations: 58.17 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.004123, allocations: 192 / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.004132, allocations: 4.375 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.004135, allocations: 384 / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.004282, allocations: 35.91 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.004587, allocations: 208.5 kB / 0.9833 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.004814, allocations: 70.45 kB / 0.9834 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.599e-05/0.00489, allocations: 24.94 kB / 0.9834 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.004903, allocations: 4 kB / 0.9834 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.004934, allocations: 30.56 kB / 0.9834 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.004935, allocations: 0 / 0.9834 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.02993/0.03487, allocations: 1.616 MB / 0.985 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.03494, allocations: 55.41 kB / 0.9851 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.0351, allocations: 113.8 kB / 0.9852 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.463e-05/0.03519, allocations: 37.7 kB / 0.9852 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.204e-05/0.03528, allocations: 80.14 kB / 0.9853 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.311e-05/0.03537, allocations: 31.73 kB / 0.9853 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.0356, allocations: 29.7 kB / 0.9853 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.03579, allocations: 311.2 kB / 0.9856 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005624/0.03635, allocations: 143.9 kB / 0.9858 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005272/0.03688, allocations: 151.8 kB / 0.9859 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.03795, allocations: 292.8 kB / 0.9862 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.03795, allocations: 0 / 0.9862 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001296/0.03924, allocations: 341.4 kB / 0.9865 GB, free: 6.598 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.03927, allocations: 8 kB / 0.9865 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.03927, allocations: 0 / 0.9865 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.03929, allocations: 0 / 0.9865 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/0.04098, allocations: 63.92 kB / 0.9866 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.04099, allocations: 0 / 0.9866 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.04243, allocations: 47.95 kB / 0.9866 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.781e-05/0.0425, allocations: 3.984 kB / 0.9866 GB, free: 6.477 MB / 0.9356 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 (9): * Single equations (assignments): 9 * 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.0002051/0.0427, allocations: 113.8 kB / 0.9867 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.471e-05/0.0428, allocations: 15.89 kB / 0.9868 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.04292, allocations: 12.44 kB / 0.9868 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.04292, allocations: 3.938 kB / 0.9868 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.04293, allocations: 0 / 0.9868 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.04293, allocations: 4 kB / 0.9868 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006307/0.04924, allocations: 0.705 MB / 0.9875 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.04925, allocations: 3.984 kB / 0.9875 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.05046, allocations: 55.94 kB / 0.9875 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.05046, allocations: 0 / 0.9875 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.05051, allocations: 0 / 0.9875 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/0.05052, allocations: 4 kB / 0.9875 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.05052, allocations: 4.219 kB / 0.9875 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.05155, allocations: 329.1 kB / 0.9879 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.05157, allocations: 7.953 kB / 0.9879 GB, free: 5.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.66e-05/0.05165, allocations: 8 kB / 0.9879 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.05281, allocations: 43.94 kB / 0.9879 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.05283, allocations: 4 kB / 0.9879 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.05288, allocations: 11.98 kB / 0.9879 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.16e-05/0.05295, allocations: 91.28 kB / 0.988 GB, free: 5 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.05295, allocations: 0 / 0.988 GB, free: 5 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004394/0.05339, allocations: 103.8 kB / 0.9881 GB, free: 4.898 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0002822/0.05368, allocations: 119.6 kB / 0.9882 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.05471, allocations: 239.8 kB / 0.9885 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.05471, allocations: 8 kB / 0.9885 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005111/0.05522, allocations: 87.95 kB / 0.9885 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.05553, allocations: 4 kB / 0.9885 GB, free: 4.441 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.05845, allocations: 306.2 kB / 0.9888 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.664e-05/0.05852, allocations: 71.47 kB / 0.9889 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003955/0.05892, allocations: 52.14 kB / 0.989 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/0.0594, allocations: 16.48 kB / 0.989 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of SimCode: time 7.61e-07/0.05941, allocations: 0 / 0.989 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of Templates: time 0.01558/0.07498, allocations: 9.743 MB / 0.9985 GB, free: 10.18 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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: 8.385844312608242]