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.001711/0.001711, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001823/0.001823, allocations: 211.7 kB / 22.98 MB, free: 4.984 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.516/3.516, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.002095/0.002095, allocations: 62.84 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4141, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00319/0.4172, allocations: 1.611 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.4184, allocations: 0.5612 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.58e-05/0.4185, allocations: 11.94 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.4186, allocations: 7.875 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.568e-05/0.4186, allocations: 23.78 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003521/0.419, allocations: 59.86 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001449/0.4191, allocations: 87.7 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.4193, allocations: 27.92 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.4194, allocations: 51.77 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.353e-05/0.4195, allocations: 39.84 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.4196, allocations: 12 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.65e-05/0.4196, allocations: 19.98 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.4197, allocations: 23.92 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.773e-05/0.4197, allocations: 31.8 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.4199, allocations: 99.56 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4199, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4199, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.4199, 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.0006139/0.4205, allocations: 337.7 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.4206, allocations: 8.031 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003224/0.4209, allocations: 48.81 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.4212, allocations: 146.8 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.4212, allocations: 4.375 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.4212, allocations: 12.12 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.4215, allocations: 107.7 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4215, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.4215, allocations: 8 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4215, allocations: 4 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/0.4218, allocations: 91.94 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.4224, allocations: 304.3 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.4226, allocations: 58.48 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.4227, allocations: 52.94 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.185e-05/0.4227, allocations: 8 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.4228, allocations: 30.56 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.4228, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0005017/0.4233, allocations: 161.6 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.4233, allocations: 55.34 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.4235, allocations: 143.9 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.4235, allocations: 25.7 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.4236, allocations: 116.1 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.4236, allocations: 19.84 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.4237, allocations: 21.7 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.4238, allocations: 322.8 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.4239, allocations: 35.97 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.4241, allocations: 39.97 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.4243, allocations: 93.19 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4243, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000305/0.4246, allocations: 129.5 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4246, allocations: 8 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.4246, allocations: 3.938 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.4246, allocations: 0 / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.4248, allocations: 19.92 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4248, allocations: 0 / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.121e-05/0.4249, allocations: 11.98 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.4249, allocations: 4 kB / 1.332 GB, free: 11.75 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.0001328/0.425, allocations: 130.3 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.4251, allocations: 11.94 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/0.4255, allocations: 138.3 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.4255, allocations: 4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4255, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4255, allocations: 7.875 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.4257, allocations: 153.2 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4257, allocations: 0 / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.4258, allocations: 19.98 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4258, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.4258, allocations: 0 / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/0.4258, allocations: 7.922 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4258, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.4262, allocations: 227.5 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.4262, allocations: 11.94 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.4262, allocations: 4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.4263, allocations: 7.938 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.4264, allocations: 11.98 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.4264, allocations: 7.938 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.706e-05/0.4265, allocations: 109.1 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4265, allocations: 0 / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002496/0.4267, allocations: 12 kB / 1.333 GB, free: 10.84 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.0001696/0.4269, allocations: 102.9 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.4272, allocations: 103.9 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4272, allocations: 0 / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.4273, allocations: 51.91 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.4276, allocations: 4 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.428, allocations: 223.5 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.407e-05/0.4281, allocations: 92.19 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.433e-05/0.4282, allocations: 11.98 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.4282, allocations: 11.44 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4282, allocations: 0 / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of Templates: time 0.003774/0.432, allocations: 0.805 MB / 1.334 GB, free: 9.402 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 -s cvode -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: 9.693818475992884]