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.00117/0.00117, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001528/0.001528, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9152/0.9152, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.81/1.81, allocations: 389 MB / 0.633 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.311e-05/1.478e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001963/0.001978, allocations: 1.587 MB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007642/0.002742, allocations: 0.5772 MB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.002802, allocations: 3.938 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.471e-05/0.002897, allocations: 11.88 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.065e-05/0.002928, allocations: 23.75 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.003219, allocations: 59.89 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.003348, allocations: 87.64 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.0035, allocations: 39.84 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.00365, allocations: 55.88 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.003722, allocations: 27.95 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.003742, allocations: 8 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.644e-05/0.003808, allocations: 19.98 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.74e-05/0.003846, allocations: 19.86 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.003882, allocations: 35.91 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.00403, allocations: 99.61 kB / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004031, allocations: 0 / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004032, allocations: 0 / 1.002 GB, free: 10.85 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.004036, allocations: 0 / 1.002 GB, free: 10.85 MB / 0.9636 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.0004044/0.004441, allocations: 333.8 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.004481, allocations: 16.73 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.171e-05/0.004513, allocations: 34.75 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.004689, allocations: 44.81 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.004886, allocations: 138.2 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.004897, allocations: 4.375 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.004911, allocations: 8.375 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.005103, allocations: 113.8 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.005109, allocations: 0 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.005121, allocations: 8 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.005125, allocations: 0 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.005258, allocations: 95.94 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.005681, allocations: 339.7 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.701e-05/0.005778, allocations: 54.55 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.729e-05/0.005845, allocations: 44.95 kB / 1.003 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.005877, allocations: 4 kB / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.005896, allocations: 38.55 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.005897, allocations: 0 / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0005588/0.006456, allocations: 173.5 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.006483, allocations: 51.41 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.971e-05/0.006563, allocations: 144.6 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.006573, allocations: 25.7 kB / 1.004 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.006621, allocations: 104.1 kB / 1.004 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.006644, allocations: 23.92 kB / 1.004 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.006674, allocations: 21.72 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.502e-05/0.006749, allocations: 326.8 kB / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.24e-05/0.006811, allocations: 35.97 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.583e-05/0.006867, allocations: 39.97 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.006991, allocations: 88.8 kB / 1.004 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.006993, allocations: 0 / 1.004 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001606/0.007153, allocations: 137.5 kB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.007167, allocations: 4 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.007171, allocations: 4 kB / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.007184, allocations: 3.938 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.847e-05/0.007262, allocations: 19.98 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.007267, allocations: 0 / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.0073, allocations: 11.94 kB / 1.005 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.007318, allocations: 4 kB / 1.005 GB, free: 8.215 MB / 0.9636 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 6.111e-05/0.007379, allocations: 121.8 kB / 1.005 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.007396, allocations: 7.953 kB / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.007608, allocations: 146.8 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.007611, allocations: 3.938 kB / 1.005 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.007617, allocations: 4 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.00762, allocations: 0 / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.007757, allocations: 172.7 kB / 1.005 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.007759, allocations: 0 / 1.005 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.459e-05/0.007803, allocations: 19.98 kB / 1.005 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.007806, allocations: 4 kB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.007814, allocations: 3.984 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.007817, allocations: 3.938 kB / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.007818, allocations: 3.984 kB / 1.005 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.008, allocations: 223.4 kB / 1.005 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.008012, allocations: 19.83 kB / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.008024, allocations: 0 / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.008072, allocations: 15.92 kB / 1.005 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.008115, allocations: 7.984 kB / 1.005 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-06/0.008122, allocations: 4 kB / 1.005 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.447e-05/0.008166, allocations: 109.3 kB / 1.005 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008167, allocations: 0 / 1.005 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001641/0.008331, allocations: 16 kB / 1.005 GB, free: 7.27 MB / 0.9636 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.000411/0.008742, allocations: 0.7631 MB / 1.006 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001744/0.008916, allocations: 99.92 kB / 1.006 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.008917, allocations: 0 / 1.006 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.478e-05/0.008982, allocations: 51.91 kB / 1.006 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.009153, allocations: 8 kB / 1.006 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.01039, allocations: 1.617 MB / 1.008 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.395e-05/0.01045, allocations: 96.25 kB / 1.008 GB, free: 4.508 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.99e-05/0.01051, allocations: 19.98 kB / 1.008 GB, free: 4.488 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.01056, allocations: 28.48 kB / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of SimCode: time 6.31e-07/0.01056, allocations: 4 kB / 1.008 GB, free: 4.457 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01445/0.02501, allocations: 2.736 MB / 1.011 GB, free: 1.859 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.982/7.007, allocations: 10.59 kB / 1.011 GB, free: 1.855 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.295299204997718]