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.001694/0.001694, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002086/0.002086, allocations: 215.2 kB / 22.25 MB, free: 5.117 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 8.035 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.34/3.34, allocations: 0.49 GB / 0.7951 GB, free: 33.42 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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_12_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.002059/0.002059, allocations: 74.53 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3981, allocations: 176.1 MB / 1.326 GB, free: 1.824 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003247/0.4014, allocations: 1.634 MB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.4026, allocations: 0.6117 MB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.4027, allocations: 3.938 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.4028, allocations: 11.86 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.015e-05/0.4028, allocations: 15.86 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.4032, allocations: 67.84 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.4033, allocations: 87.64 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.4035, allocations: 28.2 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.4037, allocations: 51.84 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.4038, allocations: 35.84 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.4038, allocations: 8 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.481e-05/0.4039, allocations: 27.92 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.157e-05/0.4039, allocations: 23.86 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.327e-05/0.404, allocations: 47.72 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.4042, allocations: 87.64 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.4042, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4042, allocations: 4 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.4042, allocations: 0 / 1.329 GB, free: 15.07 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.0005995/0.4048, allocations: 341.7 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4049, allocations: 8.031 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.4049, allocations: 42.73 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003319/0.4052, allocations: 36.81 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.4055, allocations: 152.2 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.4055, allocations: 4.375 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.4056, allocations: 11.94 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.4058, allocations: 109.6 kB / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.4059, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.4059, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.4059, allocations: 0 / 1.329 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.4061, allocations: 95.94 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000694/0.4068, allocations: 351.7 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.4069, allocations: 54.55 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.4071, allocations: 48.89 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.4071, allocations: 4 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.4071, allocations: 42.55 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.4071, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.000477/0.4076, allocations: 173.4 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.4077, allocations: 51.41 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.4078, allocations: 139.1 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.4078, allocations: 25.7 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.4079, allocations: 112.2 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.962e-05/0.4079, allocations: 27.83 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.408, allocations: 17.7 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4082, allocations: 318.8 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.4083, allocations: 39.91 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.62e-05/0.4084, allocations: 39.97 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.4086, allocations: 96.8 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4086, allocations: 0 / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002684/0.4088, allocations: 129.5 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4089, allocations: 5.875 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.4089, allocations: 3.938 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4089, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.409, allocations: 23.92 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.409, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.736e-05/0.4091, allocations: 7.984 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.4091, allocations: 4 kB / 1.331 GB, free: 12.41 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.0001077/0.4092, allocations: 118.3 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.4093, allocations: 15.88 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.4096, allocations: 146.8 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.4096, allocations: 0 / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4096, allocations: 4.062 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.4096, allocations: 0 / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.4099, allocations: 180.6 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4099, allocations: 0 / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001038/0.41, allocations: 27.86 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.41, allocations: 0 / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.41, allocations: 4 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.41, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.41, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/0.4103, allocations: 219.4 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.4103, allocations: 15.89 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.4103, allocations: 3.984 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/0.4104, allocations: 7.984 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.4105, allocations: 7.984 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.4105, allocations: 8 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.47e-05/0.4106, allocations: 109.3 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4106, allocations: 3.938 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002403/0.4108, allocations: 16 kB / 1.332 GB, free: 11.46 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.0006681/0.4115, allocations: 0.7708 MB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.4118, allocations: 95.88 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4118, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.4119, allocations: 47.95 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.4121, allocations: 8 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.4141, allocations: 1.643 MB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.4144, allocations: 0.7002 MB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.143e-05/0.4145, allocations: 11.98 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.4145, allocations: 35.42 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4145, allocations: 0 / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.4431, allocations: 2.223 MB / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.38, allocations: 6.438 kB / 1.337 GB, free: 5.934 MB / 1.029 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv","/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] "Error: Could not read variable sine.y in file Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv. Warning: Get data of variable sine.y from file Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv failed! Error: Could not read variable sine1.y in file Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv. Warning: Get data of variable sine1.y from file Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv failed! Error: Could not read variable sine2.y in file Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv. Warning: Get data of variable sine2.y from file Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv failed! Error: Could not read variable minVec.y in file Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv. Warning: Get data of variable minVec.y from file Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.638604283998575]