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.001381/0.001381, allocations: 111.8 kB / 16.45 MB, free: 6.488 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.001694/0.001694, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.505/1.505, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.289/3.289, allocations: 0.49 GB / 0.7916 GB, free: 33.38 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.002098/0.002098, allocations: 73.84 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3565, allocations: 176.1 MB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003002/0.3595, allocations: 1.634 MB / 1.322 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.3606, allocations: 0.5961 MB / 1.323 GB, free: 1.133 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.3606, allocations: 3.938 kB / 1.323 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.62e-05/0.3607, allocations: 7.875 kB / 1.323 GB, free: 1.121 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.592e-05/0.3608, allocations: 15.86 kB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.3611, allocations: 63.86 kB / 1.323 GB, free: 1.043 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.3612, allocations: 91.62 kB / 1.323 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3613, allocations: 36.2 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.3615, allocations: 51.83 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.131e-05/0.3616, allocations: 35.84 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.3616, allocations: 4 kB / 1.323 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.741e-05/0.3617, allocations: 20 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.3617, allocations: 27.86 kB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.496e-05/0.3618, allocations: 43.72 kB / 1.323 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.3619, allocations: 95.52 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3619, allocations: 0 / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3619, allocations: 4 kB / 1.323 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.3619, allocations: 0 / 1.323 GB, free: 0.6406 MB / 1.014 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.0005602/0.3625, allocations: 414.8 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3625, allocations: 15.98 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/0.3626, allocations: 38.73 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/0.3629, allocations: 40.81 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.3632, allocations: 218.7 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3632, allocations: 4.375 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.3632, allocations: 11.94 kB / 1.324 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.3635, allocations: 97.64 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.3635, allocations: 0 / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3635, allocations: 4 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3635, allocations: 3.938 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002528/0.3637, allocations: 103.9 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.3644, allocations: 376.6 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.3645, allocations: 62.53 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.3647, allocations: 40.95 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.3647, allocations: 12 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.3647, allocations: 34.5 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3647, allocations: 0 / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004922/0.3652, allocations: 169.6 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.3653, allocations: 51.41 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.3654, allocations: 147.7 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3654, allocations: 25.7 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.3655, allocations: 108.2 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.3655, allocations: 19.86 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.3656, allocations: 21.7 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3657, allocations: 318.8 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.3658, allocations: 44.03 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.3659, allocations: 47.91 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.3662, allocations: 84.81 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3662, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002974/0.3665, allocations: 129.5 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3665, allocations: 4 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.3665, allocations: 7.938 kB / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3665, allocations: 0 / 1.326 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.3666, allocations: 19.98 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3666, allocations: 0 / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.125e-05/0.3667, allocations: 7.984 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.3667, allocations: 4 kB / 1.326 GB, free: 13.78 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.0001018/0.3668, allocations: 125.8 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/0.3669, allocations: 11.89 kB / 1.326 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003701/0.3672, allocations: 146.3 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3672, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3672, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3673, allocations: 3.984 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.3675, allocations: 217.5 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3675, allocations: 256 / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3676, allocations: 27.86 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3676, allocations: 0 / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3676, allocations: 7.984 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3676, allocations: 4 kB / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3676, allocations: 0 / 1.327 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.368, allocations: 215.5 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.368, allocations: 96.92 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.368, allocations: 0 / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3681, allocations: 8 kB / 1.327 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.3682, allocations: 7.984 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.3682, allocations: 8 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.889e-05/0.3683, allocations: 110.2 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3683, allocations: 0 / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002433/0.3685, allocations: 12 kB / 1.327 GB, free: 12.7 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.0007069/0.3693, allocations: 0.7708 MB / 1.328 GB, free: 11.9 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003014/0.3696, allocations: 95.92 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3696, allocations: 0 / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.3697, allocations: 51.91 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.3699, allocations: 8 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.3719, allocations: 1.633 MB / 1.329 GB, free: 10.03 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.3723, allocations: 0.7079 MB / 1.33 GB, free: 9.297 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.254e-05/0.3723, allocations: 12.42 kB / 1.33 GB, free: 9.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.3724, allocations: 31.42 kB / 1.33 GB, free: 9.258 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3724, allocations: 0 / 1.33 GB, free: 9.258 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.3989, allocations: 2.106 MB / 1.332 GB, free: 7.242 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.51, allocations: 12.03 kB / 1.332 GB, free: 7.234 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.595441990997642]