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.000876/0.000876, 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.001279/0.001279, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9304/0.9304, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.753/1.753, allocations: 377.8 MB / 0.6221 GB, free: 8.691 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 3.938 kB / 0.981 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.544e-05, allocations: 2.281 kB / 0.981 GB, free: 2.617 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001782/0.001798, allocations: 1.6 MB / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006868/0.002484, allocations: 0.5687 MB / 0.9831 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.951e-05/0.002544, allocations: 7.938 kB / 0.9831 GB, free: 436 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 9.649e-05/0.00264, allocations: 15.81 kB / 0.9831 GB, free: 420 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 2.725e-05/0.002668, allocations: 15.86 kB / 0.9831 GB, free: 404 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.002953, allocations: 55.86 kB / 0.9832 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.003067, allocations: 87.64 kB / 0.9833 GB, free: 260 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.003195, allocations: 39.84 kB / 0.9833 GB, free: 220 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.003333, allocations: 59.81 kB / 0.9834 GB, free: 160 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.754e-05/0.00339, allocations: 27.91 kB / 0.9834 GB, free: 132 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.003406, allocations: 12 kB / 0.9834 GB, free: 120 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.131e-05/0.003468, allocations: 23.97 kB / 0.9834 GB, free: 96 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.0035, allocations: 15.92 kB / 0.9834 GB, free: 80 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.003532, allocations: 27.92 kB / 0.9835 GB, free: 52 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.003677, allocations: 99.61 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.003679, allocations: 0 / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.022e-06/0.00368, allocations: 0 / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.003684, allocations: 0 / 0.9835 GB, free: 15.95 MB / 0.948 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.000371/0.004055, allocations: 337.8 kB / 0.9839 GB, free: 15.59 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.00409, allocations: 12.03 kB / 0.9839 GB, free: 15.58 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.074e-05/0.004121, allocations: 42.69 kB / 0.9839 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.004274, allocations: 36.86 kB / 0.984 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.004435, allocations: 142.2 kB / 0.9841 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.004445, allocations: 4.375 kB / 0.9841 GB, free: 15.33 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.004456, allocations: 8.375 kB / 0.9841 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.004625, allocations: 112.8 kB / 0.9842 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.004632, allocations: 0 / 0.9842 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.004642, allocations: 12 kB / 0.9842 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.004647, allocations: 0 / 0.9842 GB, free: 15.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.004779, allocations: 103.8 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.005189, allocations: 331.7 kB / 0.9846 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.414e-05/0.005283, allocations: 66.42 kB / 0.9847 GB, free: 14.65 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.754e-05/0.00535, allocations: 52.94 kB / 0.9848 GB, free: 14.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.005385, allocations: 4 kB / 0.9848 GB, free: 14.59 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.005405, allocations: 30.56 kB / 0.9848 GB, free: 14.55 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.005406, allocations: 0 / 0.9848 GB, free: 14.55 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0003005/0.005706, allocations: 169.5 kB / 0.9849 GB, free: 14.38 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.005739, allocations: 55.41 kB / 0.985 GB, free: 14.32 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.623e-05/0.005835, allocations: 147.4 kB / 0.9851 GB, free: 14.16 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.005848, allocations: 29.7 kB / 0.9852 GB, free: 14.13 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.005896, allocations: 104.1 kB / 0.9853 GB, free: 14.02 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.005917, allocations: 19.94 kB / 0.9853 GB, free: 14 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.00595, allocations: 21.7 kB / 0.9853 GB, free: 13.98 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.459e-05/0.006024, allocations: 322.8 kB / 0.9856 GB, free: 13.65 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.219e-05/0.006087, allocations: 35.97 kB / 0.9857 GB, free: 13.62 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.633e-05/0.006143, allocations: 39.97 kB / 0.9857 GB, free: 13.58 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.006264, allocations: 88.81 kB / 0.9858 GB, free: 13.49 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.006266, allocations: 0 / 0.9858 GB, free: 13.49 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001514/0.006417, allocations: 129.5 kB / 0.9859 GB, free: 13.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.006429, allocations: 6.969 kB / 0.9859 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.006435, allocations: 4 kB / 0.9859 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.006447, allocations: 3.938 kB / 0.9859 GB, free: 13.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.006521, allocations: 15.98 kB / 0.9859 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.006525, allocations: 0 / 0.9859 GB, free: 13.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.123e-05/0.006556, allocations: 15.98 kB / 0.9859 GB, free: 13.31 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.006573, allocations: 4 kB / 0.9859 GB, free: 13.31 MB / 0.948 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.14e-05/0.006635, allocations: 121.8 kB / 0.9861 GB, free: 13.18 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.006652, allocations: 11.91 kB / 0.9861 GB, free: 13.17 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.006862, allocations: 142.8 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.006865, allocations: 3.938 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.006869, allocations: 4 kB / 0.9862 GB, free: 13.02 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.006872, allocations: 4 kB / 0.9862 GB, free: 13.01 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.007002, allocations: 168.7 kB / 0.9864 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.007003, allocations: 0 / 0.9864 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.504e-05/0.007048, allocations: 19.97 kB / 0.9864 GB, free: 12.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.007051, allocations: 7.938 kB / 0.9864 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.007058, allocations: 0 / 0.9864 GB, free: 12.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.007059, allocations: 3.938 kB / 0.9864 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.007061, allocations: 3.984 kB / 0.9864 GB, free: 12.77 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.007303, allocations: 223.4 kB / 0.9866 GB, free: 12.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.007312, allocations: 19.83 kB / 0.9866 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.007324, allocations: 0 / 0.9866 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.646e-05/0.00737, allocations: 11.92 kB / 0.9867 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.007409, allocations: 11.92 kB / 0.9867 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.007416, allocations: 4 kB / 0.9867 GB, free: 12.49 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.429e-05/0.00746, allocations: 107 kB / 0.9868 GB, free: 12.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.00746, allocations: 0 / 0.9868 GB, free: 12.39 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001673/0.007627, allocations: 19.95 kB / 0.9868 GB, free: 12.37 MB / 0.948 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.0003766/0.008004, allocations: 0.7709 MB / 0.9875 GB, free: 11.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.008176, allocations: 95.88 kB / 0.9876 GB, free: 11.48 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.008177, allocations: 0 / 0.9876 GB, free: 11.48 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.421e-05/0.008241, allocations: 43.97 kB / 0.9877 GB, free: 11.43 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/0.008399, allocations: 8 kB / 0.9877 GB, free: 11.43 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.009537, allocations: 1.623 MB / 0.9893 GB, free: 9.723 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.802e-05/0.009595, allocations: 88.31 kB / 0.9894 GB, free: 9.617 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.965e-05/0.009644, allocations: 23.98 kB / 0.9894 GB, free: 9.594 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.009698, allocations: 28.48 kB / 0.9894 GB, free: 9.566 MB / 0.948 GB Notification: Performance of SimCode: time 6.91e-07/0.009698, allocations: 0 / 0.9894 GB, free: 9.566 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01368/0.02338, allocations: 2.729 MB / 0.9921 GB, free: 6.973 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.87/6.893, allocations: 8.266 kB / 0.9921 GB, free: 6.969 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.122729018330574]