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.001913/0.001913, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002299/0.002299, allocations: 213.7 kB / 22.25 MB, free: 4.855 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.895/2.895, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) [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.0022/0.0022, allocations: 66.38 kB / 1.117 GB, free: 40.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3444, allocations: 170 MB / 1.283 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00332/0.3478, allocations: 1.604 MB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.349, allocations: 0.5551 MB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.3491, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.3492, allocations: 19.86 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.3e-05/0.3493, allocations: 19.8 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.3496, allocations: 59.81 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.3498, allocations: 91.69 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.35, allocations: 27.97 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.3501, allocations: 47.78 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.779e-05/0.3502, allocations: 35.78 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.3503, allocations: 8 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.526e-05/0.3503, allocations: 19.98 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.3504, allocations: 23.92 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.3504, allocations: 39.73 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.3507, allocations: 93.31 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3507, allocations: 0 / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3507, allocations: 0 / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.3507, allocations: 3.938 kB / 1.285 GB, free: 9.789 MB / 0.9825 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.0005772/0.3513, allocations: 337.7 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3513, allocations: 12.03 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.3513, allocations: 34.75 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003015/0.3517, allocations: 48.8 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.3519, allocations: 146.9 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.3519, allocations: 4.375 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.42e-05/0.352, allocations: 15.92 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.3522, allocations: 97.64 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3522, allocations: 3.938 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.3523, allocations: 8 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.3523, allocations: 0 / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.3525, allocations: 99.92 kB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.3531, allocations: 331.7 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.3533, allocations: 62.55 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.3534, allocations: 44.95 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.3535, allocations: 8 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.3535, allocations: 30.56 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.3535, allocations: 0 / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0004875/0.354, allocations: 173.4 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.354, allocations: 51.41 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.3542, allocations: 145.2 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.3542, allocations: 29.64 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.647e-05/0.3543, allocations: 108.2 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.3543, allocations: 19.86 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.3544, allocations: 21.7 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3545, allocations: 322.8 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.3546, allocations: 35.97 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.3547, allocations: 39.97 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.355, allocations: 88.8 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.355, allocations: 4 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002803/0.3552, allocations: 133.4 kB / 1.287 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3553, allocations: 10.03 kB / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3553, allocations: 0 / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3553, allocations: 0 / 1.288 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3554, allocations: 19.97 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3554, allocations: 0 / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.046e-05/0.3555, allocations: 12 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.3555, allocations: 11.92 kB / 1.288 GB, free: 7.141 MB / 0.9825 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.3556, allocations: 117.8 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.442e-05/0.3556, allocations: 11.89 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.356, allocations: 146.6 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.356, allocations: 4.062 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.356, allocations: 7.984 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.356, allocations: 0 / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.3562, allocations: 168.7 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3562, allocations: 4 kB / 1.288 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.3563, allocations: 23.92 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3563, allocations: 0 / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3563, allocations: 0 / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3563, allocations: 0 / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3563, allocations: 0 / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.3567, allocations: 231.3 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.3567, allocations: 15.89 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.3567, allocations: 0 / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-05/0.3568, allocations: 11.98 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.3569, allocations: 11.98 kB / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.3569, allocations: 0 / 1.288 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001026/0.357, allocations: 111.2 kB / 1.288 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.357, allocations: 4 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002326/0.3572, allocations: 12 kB / 1.288 GB, free: 6.199 MB / 0.9825 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.0007526/0.358, allocations: 0.7702 MB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.3582, allocations: 95.94 kB / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3582, allocations: 0 / 1.289 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.3584, allocations: 55.89 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.3586, allocations: 4 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.3606, allocations: 1.634 MB / 1.291 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.3607, allocations: 94.25 kB / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.28e-05/0.3608, allocations: 15.97 kB / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/0.3609, allocations: 27.42 kB / 1.291 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3609, allocations: 4 kB / 1.291 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03155/0.3924, allocations: 2.609 MB / 1.294 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.72, allocations: 2.031 kB / 1.294 GB, free: 0.9102 MB / 0.9825 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sine.y in file Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv. Warning: Get data of variable sine.y from file Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv failed! Error: Could not read variable sine1.y in file Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv. Warning: Get data of variable sine1.y from file Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv failed! Error: Could not read variable sine2.y in file Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv. Warning: Get data of variable sine2.y from file Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv failed! Error: Could not read variable minVec.y in file Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv. Warning: Get data of variable minVec.y from file Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.82410295214504]