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.001749/0.001749, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002127/0.002127, allocations: 213.2 kB / 23 MB, free: 4.969 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.545/1.545, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.393/3.393, allocations: 0.49 GB / 0.7959 GB, free: 35.63 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.002078/0.002078, allocations: 67.44 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.4573, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.005801/0.4631, allocations: 1.603 MB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.4647, allocations: 0.5612 MB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.4649, allocations: 3.938 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.465, allocations: 15.86 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.362e-05/0.4651, allocations: 23.73 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.4656, allocations: 59.86 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.4658, allocations: 87.7 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.466, allocations: 31.92 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002081/0.4662, allocations: 39.89 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.4663, allocations: 47.78 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.4663, allocations: 7.938 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.4664, allocations: 23.98 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.048e-05/0.4665, allocations: 31.91 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.888e-05/0.4665, allocations: 31.8 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.4668, allocations: 91.58 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4668, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4668, allocations: 0 / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.4668, allocations: 0 / 1.33 GB, free: 14.32 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.0007047/0.4675, allocations: 333.8 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 8.848e-05/0.4676, allocations: 12.03 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003829/0.468, allocations: 40.81 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.4684, allocations: 155.8 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.4684, allocations: 384 / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.4684, allocations: 12.12 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00032/0.4687, allocations: 105.6 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4687, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.4687, allocations: 4 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4687, allocations: 0 / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.469, allocations: 95.94 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006891/0.4697, allocations: 320.2 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.4699, allocations: 54.55 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.47, allocations: 48.89 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/0.47, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.4701, allocations: 42.56 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.4701, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.00052/0.4706, allocations: 161.5 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.4707, allocations: 55.41 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.4708, allocations: 139.1 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.4708, allocations: 25.7 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.638e-05/0.4709, allocations: 112.1 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.471, allocations: 19.89 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.095e-05/0.471, allocations: 29.7 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4712, allocations: 318.8 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.4713, allocations: 43.91 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.4714, allocations: 35.97 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.4716, allocations: 96.73 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4716, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003032/0.4719, allocations: 129.5 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4719, allocations: 4 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.472, allocations: 0 / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.472, allocations: 3.938 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.4721, allocations: 23.91 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4721, allocations: 4 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.005e-05/0.4722, allocations: 4 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.4722, allocations: 11.97 kB / 1.332 GB, free: 11.76 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.4723, allocations: 122.3 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.4724, allocations: 7.953 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/0.4728, allocations: 150.7 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.4728, allocations: 3.984 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.4728, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.4728, allocations: 7.953 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.4728, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.4729, allocations: 8 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.473, allocations: 15.92 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000376/0.4733, allocations: 200.9 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003981/0.4737, allocations: 310.5 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001224/0.4739, allocations: 47.95 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.768e-05/0.4739, allocations: 109.3 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of Backend: time 5.91e-07/0.4739, allocations: 4 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005559/0.4745, allocations: 126.4 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008898/0.4754, allocations: 0.6445 MB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of Templates: time 0.004696/0.4801, allocations: 1.221 MB / 1.335 GB, free: 8.723 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: 9.698414166996372]