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.001914/0.001914, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002292/0.002292, allocations: 163.1 kB / 23.01 MB, free: 4.594 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.419/1.419, allocations: 177.2 MB / 203.4 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.815/2.815, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 67.89 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8196/0.8218, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00227/0.824, allocations: 1.605 MB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008423/0.8249, allocations: 0.5589 MB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.58e-05/0.8249, allocations: 7.875 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.8251, allocations: 13.94 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.7e-05/0.8251, allocations: 15.19 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.8254, allocations: 61.33 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.8255, allocations: 89.42 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.8256, allocations: 30.16 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.8258, allocations: 45.66 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.8258, allocations: 41.81 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.8259, allocations: 7.844 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.924e-05/0.8259, allocations: 21.53 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.776e-05/0.826, allocations: 20.55 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.826, allocations: 37.3 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.8262, allocations: 99.22 kB / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.8262, allocations: 0 / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.482e-06/0.8262, allocations: 0 / 1.156 GB, free: 31.62 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.8262, allocations: 0 / 1.156 GB, free: 31.62 MB / 1.076 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.000435/0.8266, allocations: 332.4 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.8266, allocations: 13.03 kB / 1.157 GB, free: 31.32 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002878/0.8269, allocations: 45.95 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.8271, allocations: 152.7 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.8271, allocations: 384 / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.8271, allocations: 10 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.8273, allocations: 106.9 kB / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.8274, allocations: 0 / 1.157 GB, free: 31.1 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.8274, allocations: 4 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.8274, allocations: 2.938 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.8276, allocations: 97.98 kB / 1.157 GB, free: 31.07 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.828, allocations: 305.5 kB / 1.158 GB, free: 30.83 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.8281, allocations: 58.27 kB / 1.158 GB, free: 30.8 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.786e-05/0.8282, allocations: 45.81 kB / 1.158 GB, free: 30.78 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.362e-05/0.8283, allocations: 6.812 kB / 1.158 GB, free: 30.78 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.8283, allocations: 40.12 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.8283, allocations: 3.984 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=6): time 0.0004014/0.8287, allocations: 161.6 kB / 1.158 GB, free: 30.67 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.8287, allocations: 58.28 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.468e-05/0.8288, allocations: 139.9 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.8288, allocations: 29.7 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.8288, allocations: 110.5 kB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.8288, allocations: 22.56 kB / 1.158 GB, free: 30.33 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-05/0.8289, allocations: 20.66 kB / 1.158 GB, free: 30.32 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.035e-05/0.8289, allocations: 321.2 kB / 1.158 GB, free: 30 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.829, allocations: 43.73 kB / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.247e-05/0.8291, allocations: 43.44 kB / 1.159 GB, free: 29.97 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.8293, allocations: 90.89 kB / 1.159 GB, free: 29.94 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.8293, allocations: 0 / 1.159 GB, free: 29.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002332/0.8295, allocations: 131.8 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.8296, allocations: 3.094 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.8296, allocations: 7.125 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.8296, allocations: 0 / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.8297, allocations: 14.53 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.8297, allocations: 6.594 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.531e-05/0.8298, allocations: 12.7 kB / 1.159 GB, free: 29.87 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.8298, allocations: 5.781 kB / 1.159 GB, free: 29.87 MB / 1.076 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 5.424e-05/0.8298, allocations: 117.2 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.8299, allocations: 10.73 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.8302, allocations: 149.3 kB / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.8302, allocations: 0 / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.8302, allocations: 0 / 1.159 GB, free: 29.68 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.8302, allocations: 7.094 kB / 1.159 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.8303, allocations: 142.4 kB / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.8303, allocations: 0 / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.678e-05/0.8304, allocations: 24.62 kB / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8304, allocations: 0 / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.8304, allocations: 2.844 kB / 1.159 GB, free: 29.53 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8304, allocations: 3.938 kB / 1.159 GB, free: 29.52 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.8304, allocations: 0 / 1.159 GB, free: 29.52 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.8307, allocations: 227 kB / 1.159 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.206e-05/0.8307, allocations: 10.8 kB / 1.159 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.8307, allocations: 0 / 1.159 GB, free: 29.36 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.8308, allocations: 13 kB / 1.159 GB, free: 29.35 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.8308, allocations: 6.172 kB / 1.159 GB, free: 29.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-06/0.8308, allocations: 2.812 kB / 1.16 GB, free: 29.35 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.002e-05/0.8309, allocations: 106.5 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8309, allocations: 0 / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002397/0.8311, allocations: 26.25 kB / 1.16 GB, free: 29.26 MB / 1.076 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 9.245e-05/0.8312, allocations: 105.3 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.8314, allocations: 92.88 kB / 1.16 GB, free: 29.15 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.8314, allocations: 2.906 kB / 1.16 GB, free: 29.15 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.8316, allocations: 55.7 kB / 1.16 GB, free: 29.13 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.8318, allocations: 5.469 kB / 1.16 GB, free: 29.13 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.8321, allocations: 231 kB / 1.16 GB, free: 28.96 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.479e-05/0.8322, allocations: 89.02 kB / 1.16 GB, free: 28.89 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.134e-05/0.8322, allocations: 20.06 kB / 1.16 GB, free: 28.88 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.8323, allocations: 14.5 kB / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/0.8323, allocations: 0 / 1.16 GB, free: 28.87 MB / 1.076 GB Notification: Performance of Templates: time 0.002936/0.8352, allocations: 0.6951 MB / 1.161 GB, free: 28.77 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.406988210976124]