Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002166/0.002166, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.606/2.606, allocations: 443.4 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 71.89 kB / 1.059 GB, free: 368 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3176, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003185/0.3207, allocations: 1.605 MB / 1.218 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.3218, allocations: 0.5123 MB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.79e-05/0.3219, allocations: 4 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.322, allocations: 11.86 kB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.978e-05/0.322, allocations: 15.8 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.3223, allocations: 39.91 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000154/0.3225, allocations: 87.7 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.3226, allocations: 28.2 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.3227, allocations: 43.78 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.174e-05/0.3228, allocations: 39.83 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.3228, allocations: 4 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.726e-05/0.3229, allocations: 19.98 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.75e-05/0.323, allocations: 19.92 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.683e-05/0.323, allocations: 35.75 kB / 1.219 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.3232, allocations: 91.58 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3232, allocations: 4 kB / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3232, allocations: 0 / 1.219 GB, free: 12.74 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.3232, allocations: 0 / 1.219 GB, free: 12.74 MB / 0.9669 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.0006542/0.3239, allocations: 406.9 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.3239, allocations: 12.03 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.324, allocations: 12.84 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.3242, allocations: 198.1 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3242, allocations: 8.312 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.3242, allocations: 8.375 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.3245, allocations: 109.9 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.3245, allocations: 0 / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.3245, allocations: 8 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3245, allocations: 0 / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.3248, allocations: 95.88 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/0.3254, allocations: 384.5 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.3255, allocations: 54.55 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.3257, allocations: 44.95 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/0.3257, allocations: 8 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.3257, allocations: 38.56 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3257, allocations: 0 / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004811/0.3262, allocations: 169.5 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.3263, allocations: 51.41 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.3264, allocations: 135.3 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.3264, allocations: 29.7 kB / 1.22 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.671e-05/0.3265, allocations: 108.2 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.3265, allocations: 19.84 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.3266, allocations: 25.7 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3267, allocations: 314.8 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.3268, allocations: 39.97 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.3269, allocations: 39.95 kB / 1.221 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.3271, allocations: 88.81 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3271, allocations: 7.938 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002766/0.3274, allocations: 129.5 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3274, allocations: 4 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3274, allocations: 0 / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3275, allocations: 0 / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.3276, allocations: 19.92 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3276, allocations: 4 kB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/0.3277, allocations: 15.92 kB / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.3277, allocations: 0 / 1.221 GB, free: 9.98 MB / 0.9669 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.0001008/0.3278, allocations: 125.8 kB / 1.221 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.3278, allocations: 7.953 kB / 1.221 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003592/0.3282, allocations: 138.7 kB / 1.221 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3282, allocations: 11.88 kB / 1.221 GB, free: 9.688 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3282, allocations: 4.062 kB / 1.221 GB, free: 9.684 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3282, allocations: 4 kB / 1.221 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.3284, allocations: 201.6 kB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3284, allocations: 0 / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.3286, allocations: 19.98 kB / 1.222 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3286, allocations: 0 / 1.222 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3286, allocations: 4 kB / 1.222 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3286, allocations: 3.938 kB / 1.222 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3286, allocations: 0 / 1.222 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.3289, allocations: 223.4 kB / 1.222 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/0.329, allocations: 85.06 kB / 1.222 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.329, allocations: 4 kB / 1.222 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3291, allocations: 11.92 kB / 1.222 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.3291, allocations: 7.984 kB / 1.222 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.3292, allocations: 4 kB / 1.222 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.222e-05/0.3292, allocations: 104.8 kB / 1.222 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3292, allocations: 0 / 1.222 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002463/0.3295, allocations: 19.89 kB / 1.222 GB, free: 8.922 MB / 0.9669 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.000166/0.3296, allocations: 107.2 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002881/0.3299, allocations: 95.88 kB / 1.222 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3299, allocations: 0 / 1.222 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.3301, allocations: 51.97 kB / 1.222 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.3303, allocations: 4 kB / 1.222 GB, free: 8.66 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004915/0.3308, allocations: 230.9 kB / 1.222 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.3311, allocations: 0.7041 MB / 1.223 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001217/0.3313, allocations: 15.98 kB / 1.223 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.3313, allocations: 19.42 kB / 1.223 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of SimCode: time 5e-07/0.3313, allocations: 0 / 1.223 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of Templates: time 0.00363/0.3349, allocations: 0.7266 MB / 1.224 GB, free: 6.918 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.042170342989266]