Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.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.001813/0.001813, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.002257/0.002257, allocations: 163.4 kB / 22.46 MB, free: 5.375 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.521/1.521, allocations: 177.1 MB / 202.8 MB, free: 9.16 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.82/2.82, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 177] 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.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.14e-06/5.14e-06, allocations: 4 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.512e-05, allocations: 10.22 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002927/0.002962, allocations: 1.596 MB / 0.983 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001104/0.004065, allocations: 0.5688 MB / 0.9835 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.826e-05/0.004134, allocations: 0 / 0.9835 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.004256, allocations: 11.86 kB / 0.9836 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.004298, allocations: 23.73 kB / 0.9836 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.004638, allocations: 59.84 kB / 0.9836 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.004802, allocations: 95.58 kB / 0.9837 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.004952, allocations: 31.91 kB / 0.9838 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.005124, allocations: 63.81 kB / 0.9838 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.62e-05/0.00521, allocations: 31.91 kB / 0.9839 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.005234, allocations: 8 kB / 0.9839 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.646e-05/0.00531, allocations: 19.92 kB / 0.9839 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.005361, allocations: 23.91 kB / 0.9839 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.531e-05/0.005406, allocations: 23.94 kB / 0.9839 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.005593, allocations: 103.5 kB / 0.984 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005595, allocations: 0 / 0.984 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.82e-07/0.005596, allocations: 0 / 0.984 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.005601, allocations: 4 kB / 0.984 GB, free: 9.293 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005664/0.006167, allocations: 333.8 kB / 0.9843 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.006205, allocations: 8.031 kB / 0.9844 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/0.006522, allocations: 40.84 kB / 0.9844 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.006764, allocations: 144.2 kB / 0.9845 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.006779, allocations: 8.375 kB / 0.9845 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.006795, allocations: 4.375 kB / 0.9845 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/0.007078, allocations: 117.2 kB / 0.9847 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.00709, allocations: 3.938 kB / 0.9847 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.007102, allocations: 0 / 0.9847 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.007107, allocations: 0 / 0.9847 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.007364, allocations: 99.92 kB / 0.9848 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.007951, allocations: 312.2 kB / 0.9851 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.008111, allocations: 62.48 kB / 0.9851 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.008233, allocations: 40.95 kB / 0.9851 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.008273, allocations: 7.984 kB / 0.9852 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.008304, allocations: 34.56 kB / 0.9852 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 3.096e-06/0.008307, allocations: 3.984 kB / 0.9852 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0005147/0.008821, allocations: 173.5 kB / 0.9854 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.008866, allocations: 55.41 kB / 0.9854 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.008998, allocations: 143.4 kB / 0.9855 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.009018, allocations: 25.7 kB / 0.9856 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.629e-05/0.009094, allocations: 104.2 kB / 0.9857 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.009126, allocations: 23.78 kB / 0.9857 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.009174, allocations: 17.72 kB / 0.9857 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.00933, allocations: 322.8 kB / 0.986 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.009457, allocations: 39.97 kB / 0.9861 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.009568, allocations: 39.97 kB / 0.9861 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002479/0.009816, allocations: 88.8 kB / 0.9862 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.009817, allocations: 0 / 0.9862 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003074/0.01012, allocations: 129.5 kB / 0.9863 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.01014, allocations: 8 kB / 0.9863 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.01015, allocations: 0 / 0.9863 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.01016, allocations: 7.938 kB / 0.9863 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.01031, allocations: 19.98 kB / 0.9863 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.01032, allocations: 3.938 kB / 0.9863 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.571e-05/0.01039, allocations: 11.98 kB / 0.9864 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.01041, allocations: 0 / 0.9864 GB, free: 6.742 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 (6): * Single equations (assignments): 6 * 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.0001021/0.01052, allocations: 117.8 kB / 0.9865 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.01055, allocations: 15.89 kB / 0.9865 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.01095, allocations: 146.3 kB / 0.9866 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01096, allocations: 4 kB / 0.9866 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.01096, allocations: 4.438 kB / 0.9866 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.01097, allocations: 0 / 0.9866 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.01116, allocations: 145.3 kB / 0.9868 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01116, allocations: 4 kB / 0.9868 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.01127, allocations: 15.98 kB / 0.9868 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01127, allocations: 0 / 0.9868 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01128, allocations: 4 kB / 0.9868 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.01128, allocations: 3.938 kB / 0.9868 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01129, allocations: 4 kB / 0.9868 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.01165, allocations: 227.3 kB / 0.987 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.01166, allocations: 7.953 kB / 0.987 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.01168, allocations: 0 / 0.987 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.01179, allocations: 15.98 kB / 0.987 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.01184, allocations: 3.984 kB / 0.987 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.01185, allocations: 7.938 kB / 0.987 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.332e-05/0.01194, allocations: 113.3 kB / 0.9872 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.01194, allocations: 0 / 0.9872 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002516/0.01219, allocations: 23.89 kB / 0.9872 GB, free: 5.836 MB / 0.9356 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 (6): * Single equations (assignments): 6 * 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.0001717/0.01236, allocations: 99.25 kB / 0.9873 GB, free: 5.73 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.01266, allocations: 95.88 kB / 0.9874 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01266, allocations: 0 / 0.9874 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.0128, allocations: 51.95 kB / 0.9874 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.01304, allocations: 8 kB / 0.9874 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004847/0.01352, allocations: 217.7 kB / 0.9876 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.974e-05/0.01361, allocations: 88.3 kB / 0.9877 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.984e-05/0.01367, allocations: 11.98 kB / 0.9877 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.01372, allocations: 16.5 kB / 0.9877 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.01372, allocations: 3.938 kB / 0.9877 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of Templates: time 0.003629/0.01735, allocations: 0.6949 MB / 0.9884 GB, free: 4.512 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.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.916222061961889]