Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008003/0.0008003, allocations: 76.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0007647/0.0007647, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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 0.8526/0.8526, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.558/1.558, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.12e-07/9.12e-07, allocations: 0 / 0.9517 GB, free: 2.969 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.343e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001591/0.001604, allocations: 1.58 MB / 0.9533 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006173/0.002221, allocations: 0.581 MB / 0.9539 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.002266, allocations: 0 / 0.9539 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 6.869e-05/0.002335, allocations: 11.81 kB / 0.9539 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 2.276e-05/0.002358, allocations: 15.86 kB / 0.9539 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.002566, allocations: 63.78 kB / 0.9539 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.331e-05/0.002659, allocations: 95.58 kB / 0.954 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.805e-05/0.002757, allocations: 27.98 kB / 0.9541 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 9.792e-05/0.002855, allocations: 55.88 kB / 0.9541 GB, free: 0.5156 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.002906, allocations: 31.89 kB / 0.9541 GB, free: 496 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.00292, allocations: 8 kB / 0.9541 GB, free: 488 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.462e-05/0.002965, allocations: 19.98 kB / 0.9542 GB, free: 468 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.856e-05/0.002994, allocations: 19.92 kB / 0.9542 GB, free: 448 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.00302, allocations: 27.91 kB / 0.9542 GB, free: 420 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.003137, allocations: 107.5 kB / 0.9543 GB, free: 312 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.003138, allocations: 0 / 0.9543 GB, free: 312 kB / 0.9011 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003139, allocations: 0 / 0.9543 GB, free: 312 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.003142, allocations: 4 kB / 0.9543 GB, free: 308 kB / 0.9011 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.000332/0.003474, allocations: 337.8 kB / 0.9546 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.003508, allocations: 15.97 kB / 0.9547 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.003657, allocations: 32.86 kB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.0038, allocations: 144 kB / 0.9548 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.003809, allocations: 4.375 kB / 0.9548 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.00382, allocations: 8.359 kB / 0.9548 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.003969, allocations: 110.2 kB / 0.9549 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.003977, allocations: 7.875 kB / 0.9549 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.003986, allocations: 3.984 kB / 0.955 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.003989, allocations: 3.938 kB / 0.955 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.004119, allocations: 99.17 kB / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003258/0.004445, allocations: 312.2 kB / 0.9553 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 8.44e-05/0.004529, allocations: 62.55 kB / 0.9554 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.97e-05/0.004589, allocations: 44.95 kB / 0.9555 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.004614, allocations: 3.984 kB / 0.9555 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.004631, allocations: 34.56 kB / 0.9555 GB, free: 15 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=6): time 8.52e-07/0.004632, allocations: 0 / 0.9555 GB, free: 15 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6): time 0.0002649/0.004897, allocations: 165.5 kB / 0.9556 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.004924, allocations: 59.41 kB / 0.9557 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.176e-05/0.004996, allocations: 144.6 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.005005, allocations: 25.7 kB / 0.9559 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.005046, allocations: 108.2 kB / 0.956 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.005065, allocations: 15.86 kB / 0.956 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.005093, allocations: 21.7 kB / 0.956 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.005162, allocations: 318.8 kB / 0.9563 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.802e-05/0.00522, allocations: 39.97 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.338e-05/0.005274, allocations: 39.97 kB / 0.9564 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.005388, allocations: 88.8 kB / 0.9565 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.005389, allocations: 4 kB / 0.9565 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00015/0.005539, allocations: 130 kB / 0.9566 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.005549, allocations: 4 kB / 0.9566 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.005552, allocations: 0 / 0.9566 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.005561, allocations: 4 kB / 0.9566 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.677e-05/0.005628, allocations: 15.98 kB / 0.9566 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.005635, allocations: 11.94 kB / 0.9566 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.979e-05/0.005664, allocations: 11.98 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.005678, allocations: 4 kB / 0.9566 GB, free: 13.75 MB / 0.9167 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.843e-05/0.005737, allocations: 121.8 kB / 0.9568 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.005752, allocations: 7.953 kB / 0.9568 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.005944, allocations: 154.3 kB / 0.9569 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.005946, allocations: 0 / 0.9569 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.005949, allocations: 3.938 kB / 0.9569 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.005952, allocations: 0 / 0.9569 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.006055, allocations: 149.2 kB / 0.9571 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.006056, allocations: 0 / 0.9571 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.006095, allocations: 19.92 kB / 0.9571 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-06/0.006096, allocations: 0 / 0.9571 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.006103, allocations: 4 kB / 0.9571 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.006104, allocations: 4 kB / 0.9571 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.006104, allocations: 0 / 0.9571 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.006272, allocations: 227.3 kB / 0.9573 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-06/0.006279, allocations: 7.953 kB / 0.9573 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.006291, allocations: 3.984 kB / 0.9573 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.344e-05/0.006334, allocations: 8 kB / 0.9573 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.006365, allocations: 7.984 kB / 0.9573 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.006372, allocations: 7.938 kB / 0.9573 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.1e-05/0.006413, allocations: 107.2 kB / 0.9574 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.006413, allocations: 0 / 0.9574 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001513/0.006564, allocations: 19.95 kB / 0.9575 GB, free: 12.85 MB / 0.9167 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 8.378e-05/0.006648, allocations: 106.8 kB / 0.9576 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.006801, allocations: 104 kB / 0.9577 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.006803, allocations: 0 / 0.9577 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.904e-05/0.006862, allocations: 47.97 kB / 0.9577 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.007006, allocations: 8 kB / 0.9577 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.007288, allocations: 259.2 kB / 0.958 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.913e-05/0.007347, allocations: 92.31 kB / 0.9581 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.007377, allocations: 12.5 kB / 0.9581 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of SimCode: time 2.91e-07/0.007377, allocations: 0 / 0.9581 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of Templates: time 0.001749/0.009126, allocations: 1.227 MB / 0.9593 GB, free: 10.95 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.264949287287891]