Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001856/0.001856, 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.002289/0.002289, allocations: 216.6 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.469/3.469, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_latest_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.002687/0.002687, allocations: 60.45 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4358, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003149/0.439, allocations: 1.604 MB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.4401, allocations: 0.5621 MB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.938e-05/0.4402, allocations: 4 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.4403, allocations: 11.86 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.157e-05/0.4403, allocations: 19.8 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.4406, allocations: 55.86 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.4408, allocations: 87.7 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.441, allocations: 32.19 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.4411, allocations: 51.84 kB / 1.366 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.277e-05/0.4412, allocations: 35.78 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.4412, allocations: 4 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.3e-05/0.4413, allocations: 19.98 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.4414, allocations: 27.91 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.4414, allocations: 35.8 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.4416, allocations: 91.58 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4416, allocations: 0 / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.394e-06/0.4416, allocations: 3.938 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.4416, allocations: 4 kB / 1.366 GB, free: 11.43 MB / 1.061 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.0005984/0.4422, allocations: 337.8 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4423, allocations: 8.031 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.4423, allocations: 38.75 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.4426, allocations: 40.84 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.4429, allocations: 146.9 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.4429, allocations: 384 / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.4429, allocations: 11.94 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.4432, allocations: 108.7 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4432, allocations: 0 / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4432, allocations: 4 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.4432, allocations: 0 / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.4434, allocations: 99.92 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006063/0.444, allocations: 347.6 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.4442, allocations: 54.55 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.4443, allocations: 52.88 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.4443, allocations: 4 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.4444, allocations: 38.56 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.011e-06/0.4444, allocations: 4 kB / 1.367 GB, free: 10.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004846/0.4449, allocations: 169.4 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.4449, allocations: 55.41 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.445, allocations: 136.6 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.445, allocations: 25.7 kB / 1.368 GB, free: 9.621 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.4451, allocations: 108.2 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.4451, allocations: 23.84 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.4452, allocations: 21.7 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4453, allocations: 322.8 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.4454, allocations: 39.97 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.4455, allocations: 35.97 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.4458, allocations: 92.8 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4458, allocations: 0 / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002727/0.446, allocations: 137.5 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.446, allocations: 4 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4461, allocations: 3.984 kB / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.4461, allocations: 0 / 1.368 GB, free: 8.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.4462, allocations: 19.97 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.4462, allocations: 0 / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.594e-05/0.4463, allocations: 8 kB / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.4463, allocations: 3.984 kB / 1.368 GB, free: 8.789 MB / 1.061 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.000113/0.4464, allocations: 125.8 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.4464, allocations: 15.84 kB / 1.368 GB, free: 8.641 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003491/0.4468, allocations: 146.7 kB / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4468, allocations: 0 / 1.369 GB, free: 8.484 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4468, allocations: 4.062 kB / 1.369 GB, free: 8.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4468, allocations: 3.984 kB / 1.369 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.447, allocations: 168.7 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.447, allocations: 0 / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.4471, allocations: 23.92 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4471, allocations: 0 / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.4471, allocations: 3.938 kB / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.4471, allocations: 0 / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4471, allocations: 0 / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.4475, allocations: 227.4 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.4475, allocations: 11.89 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.4475, allocations: 0 / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.521e-05/0.4476, allocations: 7.984 kB / 1.369 GB, free: 7.984 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.4476, allocations: 15.98 kB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.4477, allocations: 7.938 kB / 1.369 GB, free: 7.961 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.697e-05/0.4477, allocations: 109.3 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4477, allocations: 0 / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002408/0.448, allocations: 15.95 kB / 1.369 GB, free: 7.84 MB / 1.061 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.0007161/0.4487, allocations: 0.7669 MB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002889/0.449, allocations: 95.94 kB / 1.37 GB, free: 6.953 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.449, allocations: 4 kB / 1.37 GB, free: 6.949 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.4491, allocations: 55.89 kB / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.4494, allocations: 0 / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.4514, allocations: 1.629 MB / 1.372 GB, free: 5.191 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.191e-05/0.4515, allocations: 92.19 kB / 1.372 GB, free: 5.082 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.491e-05/0.4516, allocations: 11.98 kB / 1.372 GB, free: 5.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.4516, allocations: 27.42 kB / 1.372 GB, free: 5.043 MB / 1.061 GB Notification: Performance of SimCode: time 6.41e-07/0.4516, allocations: 0 / 1.372 GB, free: 5.043 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.4821, allocations: 2.618 MB / 1.374 GB, free: 2.559 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.74, allocations: 0.5625 kB / 1.374 GB, free: 2.559 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv. Warning: Get data of variable sine.y from file Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv failed! Error: Could not read variable sine1.y in file Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv. Warning: Get data of variable sine1.y from file Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv failed! Error: Could not read variable sine2.y in file Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv. Warning: Get data of variable sine2.y from file Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv failed! Error: Could not read variable minVec.y in file Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv. Warning: Get data of variable minVec.y from file Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.16225070366636]