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.00135/0.00135, allocations: 101.4 kB / 16.45 MB, free: 6.449 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.001497/0.001497, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.561/1.561, allocations: 230.6 MB / 252.8 MB, free: 9.121 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.93/2.93, allocations: 476.7 MB / 0.7672 GB, free: 5.25 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.002235/0.002235, allocations: 67.89 kB / 1.112 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9516/0.9538, allocations: 169.9 MB / 1.278 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002982/0.9568, allocations: 1.627 MB / 1.28 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.9579, allocations: 0.6017 MB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.123e-05/0.9579, allocations: 7.938 kB / 1.28 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.958, allocations: 11.86 kB / 1.28 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.173e-05/0.9581, allocations: 11.81 kB / 1.28 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.9584, allocations: 67.84 kB / 1.281 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.9585, allocations: 95.62 kB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.9587, allocations: 33.81 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.9588, allocations: 35.86 kB / 1.281 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.129e-05/0.9589, allocations: 51.81 kB / 1.281 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.799e-05/0.959, allocations: 4 kB / 1.281 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.017e-05/0.959, allocations: 16 kB / 1.281 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.9591, allocations: 23.92 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.234e-05/0.9591, allocations: 39.73 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.9593, allocations: 107.4 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.9593, allocations: 0 / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9593, allocations: 0 / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.9593, allocations: 0 / 1.281 GB, free: 10.75 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.0005945/0.9599, allocations: 408.9 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.96, allocations: 8.031 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.623e-05/0.96, allocations: 42.73 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002982/0.9603, allocations: 40.81 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.9606, allocations: 207.5 kB / 1.282 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.9606, allocations: 8.375 kB / 1.282 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.9606, allocations: 7.938 kB / 1.282 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.9609, allocations: 113.5 kB / 1.282 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.9609, allocations: 0 / 1.282 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.9609, allocations: 0 / 1.282 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.9609, allocations: 8 kB / 1.282 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.9612, allocations: 99.92 kB / 1.282 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006391/0.9618, allocations: 376.6 kB / 1.282 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.962, allocations: 58.55 kB / 1.282 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.9621, allocations: 44.95 kB / 1.282 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.334e-05/0.9621, allocations: 7.984 kB / 1.282 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.9622, allocations: 30.56 kB / 1.282 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.9622, allocations: 0 / 1.282 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.000509/0.9627, allocations: 177.4 kB / 1.282 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.9627, allocations: 51.41 kB / 1.283 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.9628, allocations: 137.8 kB / 1.283 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.9629, allocations: 25.7 kB / 1.283 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.963, allocations: 116.1 kB / 1.283 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.963, allocations: 11.84 kB / 1.283 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.963, allocations: 25.7 kB / 1.283 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.9632, allocations: 318.8 kB / 1.283 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.9633, allocations: 43.97 kB / 1.283 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.9634, allocations: 35.97 kB / 1.283 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.9636, allocations: 93.11 kB / 1.283 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9636, allocations: 4 kB / 1.283 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002984/0.9639, allocations: 141.5 kB / 1.283 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.9639, allocations: 4 kB / 1.283 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.964, allocations: 0 / 1.283 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.964, allocations: 0 / 1.283 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.9641, allocations: 19.98 kB / 1.283 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.9641, allocations: 4 kB / 1.283 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.9642, allocations: 7.984 kB / 1.283 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.9642, allocations: 4 kB / 1.283 GB, free: 7.898 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.0001148/0.9643, allocations: 129.8 kB / 1.284 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.9644, allocations: 11.89 kB / 1.284 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003957/0.9648, allocations: 146.3 kB / 1.284 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.9648, allocations: 0 / 1.284 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9648, allocations: 0 / 1.284 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.9648, allocations: 0 / 1.284 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.965, allocations: 205.6 kB / 1.284 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.965, allocations: 0 / 1.284 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.9651, allocations: 27.92 kB / 1.284 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.9651, allocations: 0 / 1.284 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.9651, allocations: 4 kB / 1.284 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.9651, allocations: 0 / 1.284 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.9651, allocations: 3.938 kB / 1.284 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.9655, allocations: 223.4 kB / 1.284 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.9655, allocations: 93.12 kB / 1.284 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.9656, allocations: 15.98 kB / 1.284 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-05/0.9657, allocations: 4 kB / 1.284 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.9657, allocations: 7.984 kB / 1.284 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.9657, allocations: 0 / 1.284 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.692e-05/0.9658, allocations: 109.9 kB / 1.284 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9658, allocations: 0 / 1.284 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002414/0.966, allocations: 20 kB / 1.284 GB, free: 6.809 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.0007513/0.9668, allocations: 0.7675 MB / 1.285 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000296/0.9671, allocations: 91.94 kB / 1.285 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9671, allocations: 4 kB / 1.285 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.9672, allocations: 55.89 kB / 1.285 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.9675, allocations: 7.938 kB / 1.285 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.9695, allocations: 1.639 MB / 1.287 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.9699, allocations: 0.7041 MB / 1.288 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.783e-05/0.9699, allocations: 11.98 kB / 1.288 GB, free: 3.402 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.97, allocations: 31.42 kB / 1.288 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.97, allocations: 0 / 1.288 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/1, allocations: 2.119 MB / 1.29 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/9.096, allocations: 7.5 kB / 1.29 GB, free: 1.34 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.567838886054233]