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.00157/0.00157, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001767/0.001767, allocations: 220.2 kB / 23.04 MB, free: 4.852 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.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 3.22/3.22, allocations: 0.49 GB / 0.7959 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] 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.002006/0.002006, allocations: 69.5 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3161, allocations: 176.1 MB / 1.327 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002995/0.3191, allocations: 1.595 MB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3202, allocations: 0.5651 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.037e-05/0.3203, allocations: 7.938 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.696e-05/0.3204, allocations: 7.875 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.815e-05/0.3204, allocations: 19.8 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.3207, allocations: 63.86 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.3209, allocations: 87.69 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.321, allocations: 27.92 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.3212, allocations: 43.84 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.302e-05/0.3212, allocations: 43.77 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.3213, allocations: 12 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.449e-05/0.3213, allocations: 23.94 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.3214, allocations: 19.92 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/0.3214, allocations: 31.78 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.3216, allocations: 95.64 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3216, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3216, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.3216, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 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.0005499/0.3222, allocations: 337.7 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3222, allocations: 8.031 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002928/0.3225, allocations: 48.8 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.3228, allocations: 147.8 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.3228, allocations: 8.375 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.3228, allocations: 8.125 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.3231, allocations: 107.7 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.3231, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3231, allocations: 7.984 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3231, allocations: 4 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.3233, allocations: 99.92 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005832/0.3239, allocations: 312.3 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.3241, allocations: 54.48 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.3242, allocations: 48.95 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.3243, allocations: 7.984 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.3243, allocations: 30.56 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.3243, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004605/0.3247, allocations: 165.6 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3248, allocations: 55.34 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3249, allocations: 145 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3249, allocations: 25.7 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.325, allocations: 112.1 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.325, allocations: 15.89 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.147e-05/0.3251, allocations: 21.7 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.3252, allocations: 322.8 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.3253, allocations: 35.97 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3254, allocations: 39.97 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.3257, allocations: 88.8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3257, allocations: 7.938 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000273/0.3259, allocations: 129.5 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.326, allocations: 8 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.326, allocations: 7.922 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.326, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.3261, allocations: 23.92 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3261, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.943e-05/0.3262, allocations: 15.98 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.3262, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 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.0001134/0.3263, allocations: 126.3 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.3263, allocations: 7.953 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.3267, allocations: 146.7 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.3267, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3267, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3267, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.3269, allocations: 141.3 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.3269, allocations: 8 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-05/0.327, allocations: 19.92 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.327, allocations: 0 / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.327, allocations: 4 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.327, allocations: 7.875 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.327, allocations: 0 / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.3274, allocations: 223.4 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.512e-05/0.3274, allocations: 7.953 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.3274, allocations: 8 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.3275, allocations: 11.92 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/0.3276, allocations: 7.984 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.3276, allocations: 4 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.12e-05/0.3277, allocations: 111.2 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3277, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000237/0.3279, allocations: 16 kB / 1.333 GB, free: 10.82 MB / 1.029 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.0001728/0.3281, allocations: 99.19 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002942/0.3284, allocations: 95.94 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3284, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.3285, allocations: 55.89 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.3287, allocations: 7.938 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/0.3292, allocations: 257.2 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.613e-05/0.3293, allocations: 89.05 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.3294, allocations: 11.44 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3294, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of Templates: time 0.003097/0.3325, allocations: 1.218 MB / 1.335 GB, free: 8.941 MB / 1.029 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/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: 11.058032864006236]